toMap method

  1. @override
Map<String, dynamic> toMap(
  1. NameModel instance
)

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,
  };
}