switchStateDTOExplodedListToJson function

String switchStateDTOExplodedListToJson(
  1. List<SwitchStateDTO>? switchStateDTO
)

Implementation

String switchStateDTOExplodedListToJson(
    List<enums.SwitchStateDTO>? switchStateDTO) {
  return switchStateDTO?.map((e) => e.value!).join(',') ?? '';
}