trendV2PathParamListFromJson function
- List? trendV2PathParam, [
- List<
TrendV2PathParam> ? defaultValue
Implementation
List<enums.TrendV2PathParam> trendV2PathParamListFromJson(
List? trendV2PathParam, [
List<enums.TrendV2PathParam>? defaultValue,
]) {
if (trendV2PathParam == null) {
return defaultValue ?? [];
}
return trendV2PathParam
.map((e) => trendV2PathParamFromJson(e.toString()))
.toList();
}