outputNetworkGenlockSourceGetSetListToJson function

List<String> outputNetworkGenlockSourceGetSetListToJson(
  1. List<OutputNetworkGenlockSourceGetSet>? outputNetworkGenlockSourceGetSet
)

Implementation

List<String> outputNetworkGenlockSourceGetSetListToJson(
    List<enums.OutputNetworkGenlockSourceGetSet>?
        outputNetworkGenlockSourceGetSet) {
  if (outputNetworkGenlockSourceGetSet == null) {
    return [];
  }

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