documentAuthenticityMatchCodeNullableListFromJson function
List<DocumentAuthenticityMatchCode> ?
documentAuthenticityMatchCodeNullableListFromJson(
- List? documentAuthenticityMatchCode, [
- 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();
}