You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import 'package:morphy_annotation/morphy_annotation.dart';
import 'bar.dart' as bar;
part 'foo.g.dart';
part 'foo.morphy.dart';
@Morphy(generateJson: true)
abstract class $Foo {
String get Type;
}
The generated code throws error The name 'Type' isn't a type, so it can't be used as a type argument.
The text was updated successfully, but these errors were encountered:
miklcct
added a commit
to Jnction/morphy
that referenced
this issue
May 17, 2024
Sample code
The generated code throws error
The name 'Type' isn't a type, so it can't be used as a type argument.
The text was updated successfully, but these errors were encountered: