inputPortsHdmiHdmiPortNumberDynacalRedGamutGetSetListFromJson function

List<InputPortsHdmiHdmiPortNumberDynacalRedGamutGetSet> inputPortsHdmiHdmiPortNumberDynacalRedGamutGetSetListFromJson(
  1. List? inputPortsHdmiHdmiPortNumberDynacalRedGamutGetSet, [
  2. List<InputPortsHdmiHdmiPortNumberDynacalRedGamutGetSet>? defaultValue
])

Implementation

List<enums.InputPortsHdmiHdmiPortNumberDynacalRedGamutGetSet>
    inputPortsHdmiHdmiPortNumberDynacalRedGamutGetSetListFromJson(
  List? inputPortsHdmiHdmiPortNumberDynacalRedGamutGetSet, [
  List<enums.InputPortsHdmiHdmiPortNumberDynacalRedGamutGetSet>? defaultValue,
]) {
  if (inputPortsHdmiHdmiPortNumberDynacalRedGamutGetSet == null) {
    return defaultValue ?? [];
  }

  return inputPortsHdmiHdmiPortNumberDynacalRedGamutGetSet
      .map((e) => inputPortsHdmiHdmiPortNumberDynacalRedGamutGetSetFromJson(
          e.toString()))
      .toList();
}