fromMapList method

  1. @override
NameModel? fromMapList(
  1. List? list
)

Implementation

@override
NameModel? fromMapList(List<dynamic>? list) {
  if (list == null) {
    return null;
  }

  return NameModel(
    id: list[0] as String?,
    individualClientReferenceId: list[1] as String?,
    givenName: list[2] as String?,
    familyName: list[3] as String?,
    otherNames: list[4] as String?,
    nonRecoverableError: list[5] as bool?,
    tenantId: list[6] as String?,
    rowVersion: list[7] as int?,
    additionalFields: list[8] as NameAdditionalFields?,
  );
}