Update model boilerplate
This commit is contained in:
parent
c199e56e14
commit
ac273baa06
2 changed files with 1 additions and 1 deletions
|
@ -73,6 +73,7 @@ class ModelCommand extends Command {
|
|||
|
||||
modelLib.body.add(new Class((modelClazz) {
|
||||
modelClazz
|
||||
..abstract = true
|
||||
..name = needsSerialize ? '_${rc.pascalCase}' : rc.pascalCase
|
||||
..extend = refer('Model');
|
||||
|
||||
|
|
|
@ -57,7 +57,6 @@ class PluginCommand extends Command {
|
|||
return '''
|
||||
library ${pubspec.name}.src.config.plugins.${rc.snakeCase};
|
||||
|
||||
import 'dart:async';
|
||||
import 'package:angel_framework/angel_framework.dart';
|
||||
|
||||
AngelConfigurer ${rc.camelCase}() {
|
||||
|
|
Loading…
Reference in a new issue