toMap method
Implementation
@override
Map<String, dynamic> toMap(NameModel instance) {
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,
};
}