fromMapAsIs method
Implementation
@override
NameModel? fromMapAsIs(Map<String, dynamic> map) {
return NameModel(
id: map['id'] as String?,
individualClientReferenceId:
map['individualClientReferenceId'] as String?,
givenName: map['givenName'] as String?,
familyName: map['familyName'] as String?,
otherNames: map['otherNames'] as String?,
nonRecoverableError: map['nonRecoverableError'] as bool?,
tenantId: map['tenantId'] as String?,
rowVersion: map['rowVersion'] as int?,
additionalFields: map['additionalFields'] as NameAdditionalFields?,
);
}