documentAuthenticityMatchCodeListFromJson function
List<DocumentAuthenticityMatchCode>
documentAuthenticityMatchCodeListFromJson(
- List? documentAuthenticityMatchCode, [
- List<
DocumentAuthenticityMatchCode> ? defaultValue
Implementation
List<enums.DocumentAuthenticityMatchCode>
documentAuthenticityMatchCodeListFromJson(
List? documentAuthenticityMatchCode, [
List<enums.DocumentAuthenticityMatchCode>? defaultValue,
]) {
if (documentAuthenticityMatchCode == null) {
return defaultValue ?? [];
}
return documentAuthenticityMatchCode
.map((e) => documentAuthenticityMatchCodeFromJson(e.toString()))
.toList();
}