Json.fromMap constructor
Implementation
Json.fromMap(Map<String, dynamic> map, {bool initial = true}) {
if (!initial) {
_rawValue = map;
return;
}
_rawValue = <String, dynamic>{};
try {
map.forEach((String key, dynamic value) => _set(key, value));
} on JsonException catch (error) {
exception = exception ?? error;
}
}