Update map service generator
This commit is contained in:
parent
fda5f94469
commit
0d378633ac
1 changed files with 2 additions and 2 deletions
|
@ -8,8 +8,8 @@ class MapServiceGenerator extends ServiceGenerator {
|
|||
bool get createsModel => false;
|
||||
|
||||
@override
|
||||
ExpressionBuilder createInstance(
|
||||
Expression createInstance(
|
||||
MethodBuilder methodBuilder, String name, String lower) {
|
||||
return new TypeBuilder('MapService').newInstance([]);
|
||||
return refer('MapService').newInstance([]);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue