toMapAsIs method
Implementation
@override
Map<String, dynamic> toMapAsIs(NameModel? instance) {
if (instance == null) {
return <String, dynamic>{};
}
return <String, dynamic>{
'id': instance.id,
'individualClientReferenceId': instance.individualClientReferenceId,
'givenName': instance.givenName,
'familyName': instance.familyName,
'otherNames': instance.otherNames,
'nonRecoverableError': instance.nonRecoverableError,
'tenantId': instance.tenantId,
'rowVersion': instance.rowVersion,
'additionalFields': instance.additionalFields,
};
}