peripheralV2PathParamListToJson function

List<String> peripheralV2PathParamListToJson(
  1. List<PeripheralV2PathParam>? peripheralV2PathParam
)

Implementation

List<String> peripheralV2PathParamListToJson(
    List<enums.PeripheralV2PathParam>? peripheralV2PathParam) {
  if (peripheralV2PathParam == null) {
    return [];
  }

  return peripheralV2PathParam.map((e) => e.value!).toList();
}