deserialize method
Implementation
@override
void deserialize(Map<String, dynamic>? json) {
if (json == null) {
throw ApiException(400, 'Failed to deserialize FieldUpdate data model.');
}
super.deserialize(json);
if (json.containsKey('LocaleId')) {
localeId = json['LocaleId'] as String;
} else {
localeId = null;
}
if (json.containsKey('FieldCode')) {
fieldCode = json['FieldCode'] as String;
} else {
fieldCode = null;
}
}