inputPortsDviDviPortNumberDynacalRedGamutGetSetListToJson function

List<String> inputPortsDviDviPortNumberDynacalRedGamutGetSetListToJson(
  1. List<InputPortsDviDviPortNumberDynacalRedGamutGetSet>? inputPortsDviDviPortNumberDynacalRedGamutGetSet
)

Implementation

List<String> inputPortsDviDviPortNumberDynacalRedGamutGetSetListToJson(
    List<enums.InputPortsDviDviPortNumberDynacalRedGamutGetSet>?
        inputPortsDviDviPortNumberDynacalRedGamutGetSet) {
  if (inputPortsDviDviPortNumberDynacalRedGamutGetSet == null) {
    return [];
  }

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