weatherTimePeriodDTOExplodedListToJson function

String weatherTimePeriodDTOExplodedListToJson(
  1. List<WeatherTimePeriodDTO>? weatherTimePeriodDTO
)

Implementation

String weatherTimePeriodDTOExplodedListToJson(
    List<enums.WeatherTimePeriodDTO>? weatherTimePeriodDTO) {
  return weatherTimePeriodDTO?.map((e) => e.value!).join(',') ?? '';
}