From 0d378633accf6fc2b103a02bcca70056ea087774 Mon Sep 17 00:00:00 2001 From: Tobe O Date: Sat, 14 Jul 2018 18:08:48 -0400 Subject: [PATCH] Update map service generator --- lib/src/commands/service_generators/map.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/src/commands/service_generators/map.dart b/lib/src/commands/service_generators/map.dart index ec7b1499..4b1dec7e 100644 --- a/lib/src/commands/service_generators/map.dart +++ b/lib/src/commands/service_generators/map.dart @@ -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([]); } }