json_serializable.dart icon indicating copy to clipboard operation
json_serializable.dart copied to clipboard

Handle potentially aliased imports

Open kevmoo opened this issue 6 years ago • 1 comments

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.

kevmoo avatar Jul 21 '17 03:07 kevmoo