imageQualityNullableListFromJson function
List<ImageQuality> ?
imageQualityNullableListFromJson(
- List? imageQuality, [
- List<
ImageQuality> ? defaultValue
Implementation
List<enums.ImageQuality>? imageQualityNullableListFromJson(
List? imageQuality, [
List<enums.ImageQuality>? defaultValue,
]) {
if (imageQuality == null) {
return defaultValue;
}
return imageQuality.map((e) => imageQualityFromJson(e.toString())).toList();
}