From ac273baa0693d19c2a7d5cea8b5998452387b2f8 Mon Sep 17 00:00:00 2001 From: Tobe O Date: Sat, 14 Jul 2018 19:29:34 -0400 Subject: [PATCH] Update model boilerplate --- lib/src/commands/make/model.dart | 1 + lib/src/commands/make/plugin.dart | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/commands/make/model.dart b/lib/src/commands/make/model.dart index 899ced3a..e0a4c7ba 100644 --- a/lib/src/commands/make/model.dart +++ b/lib/src/commands/make/model.dart @@ -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'); diff --git a/lib/src/commands/make/plugin.dart b/lib/src/commands/make/plugin.dart index d9424359..cfccbfe9 100644 --- a/lib/src/commands/make/plugin.dart +++ b/lib/src/commands/make/plugin.dart @@ -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}() {