weatherConditionV2NullableListFromJson function
- List? weatherConditionV2, [
- List<
WeatherConditionV2> ? defaultValue
Implementation
List<enums.WeatherConditionV2>? weatherConditionV2NullableListFromJson(
List? weatherConditionV2, [
List<enums.WeatherConditionV2>? defaultValue,
]) {
if (weatherConditionV2 == null) {
return defaultValue;
}
return weatherConditionV2
.map((e) => weatherConditionV2FromJson(e.toString()))
.toList();
}