Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion morphy/lib/src/helpers.dart
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ String generateFromJsonBody(String className, List<NameType> generics, List<Inte
var _className = className.replaceFirst("\$", "").replaceFirst("\$", "");

var end = """ } else {
throw UnsupportedError("The _className_ '\${json['_className_']}' is not supported by the ${_className}.fromJson constructor.");
return _\$${_className}FromJson(json, );
}
}
""";
Expand Down