sourceNullableListFromJson function
Implementation
List<enums.Source>? sourceNullableListFromJson(
List? source, [
List<enums.Source>? defaultValue,
]) {
if (source == null) {
return defaultValue;
}
return source.map((e) => sourceFromJson(e.toString())).toList();
}