diff --git a/lib/src/commands/service.dart b/lib/src/commands/service.dart index c4d2196..57355a7 100644 --- a/lib/src/commands/service.dart +++ b/lib/src/commands/service.dart @@ -39,13 +39,13 @@ class ServiceCommand extends Command { _generateMongoService(String name) { return ''' - import "package:angel_mongo/angel_mongo.dart"; +import "package:angel_mongo/angel_mongo.dart"; - class ${name}Service extends MongoService { - ${name}Service(collection):super(collection) { - print("YEET"); - } - } - '''; +class ${name}Service extends MongoService { + ${name}Service(collection):super(collection) { + print("YEET"); + } +} + '''.trim(); } } \ No newline at end of file