oops
diff --git a/js_interop_gen/lib/src/ast/declarations.dart b/js_interop_gen/lib/src/ast/declarations.dart index d8fcf3a..83fa2ab 100644 --- a/js_interop_gen/lib/src/ast/declarations.dart +++ b/js_interop_gen/lib/src/ast/declarations.dart
@@ -76,8 +76,8 @@ this.constructors = const [], this.parent, this.documentation, - required ID id, - }) : _id = id; + required this._id, + }); /// [useFirstExtendeeAsRepType] is used to assert that the extension type /// generated has a representation type of the first member of [extendees] @@ -644,13 +644,13 @@ NamespaceDeclaration({ required this.name, this.exported = true, - required ID id, + required this._id, this.dartName, this.topLevelDeclarations = const {}, this.namespaceDeclarations = const {}, this.nestableDeclarations = const {}, this.documentation, - }) : _id = id; + }); @override ExtensionType emit([covariant DeclarationOptions? options]) {