Sample code
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.