From 21bd6108f09ec3c2bc093f08942219dc453fd7fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kasper=20Overg=C3=A5rd=20Nielsen?= Date: Wed, 31 May 2023 16:33:48 +0200 Subject: [PATCH] wip --- ejson/example/main.dart | 1 + ejson/lib/src/generator/generator.dart | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 ejson/example/main.dart diff --git a/ejson/example/main.dart b/ejson/example/main.dart new file mode 100644 index 0000000000..8b13789179 --- /dev/null +++ b/ejson/example/main.dart @@ -0,0 +1 @@ + diff --git a/ejson/lib/src/generator/generator.dart b/ejson/lib/src/generator/generator.dart index bc6af93319..1f65857ac3 100644 --- a/ejson/lib/src/generator/generator.dart +++ b/ejson/lib/src/generator/generator.dart @@ -20,7 +20,6 @@ class EJsonGenerator extends Generator { ), ); return ctors.map((ctor) { - final cls = ctor.enclosingElement; final className = ctor.enclosingElement.name; log.info('Generating EJson for $className');