entityDocumentTypeNullableListFromJson function
List<EntityDocumentType> ?
entityDocumentTypeNullableListFromJson(
- List? entityDocumentType, [
- List<
EntityDocumentType> ? defaultValue
Implementation
List<enums.EntityDocumentType>? entityDocumentTypeNullableListFromJson(
List? entityDocumentType, [
List<enums.EntityDocumentType>? defaultValue,
]) {
if (entityDocumentType == null) {
return defaultValue;
}
return entityDocumentType
.map((e) => entityDocumentTypeFromJson(e.toString()))
.toList();
}