Service formatting
This commit is contained in:
parent
ef503d5739
commit
99024ed151
1 changed files with 7 additions and 7 deletions
|
@ -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 {
|
||||
class ${name}Service extends MongoService {
|
||||
${name}Service(collection):super(collection) {
|
||||
print("YEET");
|
||||
}
|
||||
}
|
||||
''';
|
||||
}
|
||||
'''.trim();
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue