physicalDocumentCategoryNullableListFromJson function
List<PhysicalDocumentCategory> ?
physicalDocumentCategoryNullableListFromJson(
- List? physicalDocumentCategory, [
- List<
PhysicalDocumentCategory> ? defaultValue
Implementation
List<enums.PhysicalDocumentCategory>?
physicalDocumentCategoryNullableListFromJson(
List? physicalDocumentCategory, [
List<enums.PhysicalDocumentCategory>? defaultValue,
]) {
if (physicalDocumentCategory == null) {
return defaultValue;
}
return physicalDocumentCategory
.map((e) => physicalDocumentCategoryFromJson(e.toString()))
.toList();
}