inputPortsDviDviPortNumberDynacalWhiteGamutGetSetListToJson function

List<String> inputPortsDviDviPortNumberDynacalWhiteGamutGetSetListToJson(
  1. List<InputPortsDviDviPortNumberDynacalWhiteGamutGetSet>? inputPortsDviDviPortNumberDynacalWhiteGamutGetSet
)

Implementation

List<String> inputPortsDviDviPortNumberDynacalWhiteGamutGetSetListToJson(
    List<enums.InputPortsDviDviPortNumberDynacalWhiteGamutGetSet>?
        inputPortsDviDviPortNumberDynacalWhiteGamutGetSet) {
  if (inputPortsDviDviPortNumberDynacalWhiteGamutGetSet == null) {
    return [];
  }

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