inputPortsHdmiHdmiPortNumberDynacalRedGamutGetSetListToJson function

List<String> inputPortsHdmiHdmiPortNumberDynacalRedGamutGetSetListToJson(
  1. List<InputPortsHdmiHdmiPortNumberDynacalRedGamutGetSet>? inputPortsHdmiHdmiPortNumberDynacalRedGamutGetSet
)

Implementation

List<String> inputPortsHdmiHdmiPortNumberDynacalRedGamutGetSetListToJson(
    List<enums.InputPortsHdmiHdmiPortNumberDynacalRedGamutGetSet>?
        inputPortsHdmiHdmiPortNumberDynacalRedGamutGetSet) {
  if (inputPortsHdmiHdmiPortNumberDynacalRedGamutGetSet == null) {
    return [];
  }

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