inputPortsHdmiHdmiPortNumberControlsQuantisationRangeGetSetListToJson function

List<String> inputPortsHdmiHdmiPortNumberControlsQuantisationRangeGetSetListToJson(
  1. List<InputPortsHdmiHdmiPortNumberControlsQuantisationRangeGetSet>? inputPortsHdmiHdmiPortNumberControlsQuantisationRangeGetSet
)

Implementation

List<String>
    inputPortsHdmiHdmiPortNumberControlsQuantisationRangeGetSetListToJson(
        List<enums.InputPortsHdmiHdmiPortNumberControlsQuantisationRangeGetSet>?
            inputPortsHdmiHdmiPortNumberControlsQuantisationRangeGetSet) {
  if (inputPortsHdmiHdmiPortNumberControlsQuantisationRangeGetSet == null) {
    return [];
  }

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