docTypeNullableListFromJson function
Implementation
List<enums.DocType>? docTypeNullableListFromJson(
List? docType, [
List<enums.DocType>? defaultValue,
]) {
if (docType == null) {
return defaultValue;
}
return docType.map((e) => docTypeFromJson(e.toString())).toList();
}