fromJson method
Implementation
@override
RecordViewDetail fromJson(Map<String, dynamic> json) {
final props = <String, dynamic>{};
for (final key in json.keys) {
if (_kLexCompatibleProperties.contains(key)) {
props[key] = json[key];
} else {
if (props.containsKey(r'$unknown')) {
props[r'$unknown'][key] = json[key];
} else {
props[r'$unknown'] = <String, dynamic>{};
props[r'$unknown'][key] = json[key];
}
}
}
return RecordViewDetail.fromJson(props);
}