trendPathParamNullableListFromJson function
- List? trendPathParam, [
- List<
TrendPathParam> ? defaultValue
Implementation
List<enums.TrendPathParam>? trendPathParamNullableListFromJson(
List? trendPathParam, [
List<enums.TrendPathParam>? defaultValue,
]) {
if (trendPathParam == null) {
return defaultValue;
}
return trendPathParam
.map((e) => trendPathParamFromJson(e.toString()))
.toList();
}