json_serializable.dart
json_serializable.dart copied to clipboard
Handle potentially aliased imports
It's really not safe to reference Map
or String
in the case where someone does import "dart:core" as foo;
– in practice this should be rare.
Same for other types. In general, we just write out the type name w/ out worrying about imports.