inputPortsHdmiHdmiPortNumberControlsQuantisationRangeGetSetNullableListFromJson function

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

Implementation

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

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