documentAuthenticityMatchCodeNullableListFromJson function

List<DocumentAuthenticityMatchCode>? documentAuthenticityMatchCodeNullableListFromJson(
  1. List? documentAuthenticityMatchCode, [
  2. List<DocumentAuthenticityMatchCode>? defaultValue
])

Implementation

List<enums.DocumentAuthenticityMatchCode>?
    documentAuthenticityMatchCodeNullableListFromJson(
  List? documentAuthenticityMatchCode, [
  List<enums.DocumentAuthenticityMatchCode>? defaultValue,
]) {
  if (documentAuthenticityMatchCode == null) {
    return defaultValue;
  }

  return documentAuthenticityMatchCode
      .map((e) => documentAuthenticityMatchCodeFromJson(e.toString()))
      .toList();
}