Update map service generator

This commit is contained in:
Tobe O 2018-07-14 18:08:48 -04:00
parent fda5f94469
commit 0d378633ac

View file

@ -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([]);
}
}