inputPortsHdmiHdmiPortNumberControlsQuantisationRangeGetSetListFromJson function

List<InputPortsHdmiHdmiPortNumberControlsQuantisationRangeGetSet> inputPortsHdmiHdmiPortNumberControlsQuantisationRangeGetSetListFromJson(
  1. List? inputPortsHdmiHdmiPortNumberControlsQuantisationRangeGetSet, [
  2. List<InputPortsHdmiHdmiPortNumberControlsQuantisationRangeGetSet>? defaultValue
])

Implementation

List<enums.InputPortsHdmiHdmiPortNumberControlsQuantisationRangeGetSet>
    inputPortsHdmiHdmiPortNumberControlsQuantisationRangeGetSetListFromJson(
  List? inputPortsHdmiHdmiPortNumberControlsQuantisationRangeGetSet, [
  List<enums.InputPortsHdmiHdmiPortNumberControlsQuantisationRangeGetSet>?
      defaultValue,
]) {
  if (inputPortsHdmiHdmiPortNumberControlsQuantisationRangeGetSet == null) {
    return defaultValue ?? [];
  }

  return inputPortsHdmiHdmiPortNumberControlsQuantisationRangeGetSet
      .map((e) =>
          inputPortsHdmiHdmiPortNumberControlsQuantisationRangeGetSetFromJson(
              e.toString()))
      .toList();
}