peripheralV2PathParamNullableListFromJson function
- List? peripheralV2PathParam, [
- List<
PeripheralV2PathParam> ? defaultValue
Implementation
List<enums.PeripheralV2PathParam>? peripheralV2PathParamNullableListFromJson(
List? peripheralV2PathParam, [
List<enums.PeripheralV2PathParam>? defaultValue,
]) {
if (peripheralV2PathParam == null) {
return defaultValue;
}
return peripheralV2PathParam
.map((e) => peripheralV2PathParamFromJson(e.toString()))
.toList();
}