inputPortsHdmiHdmiPortNumberDynacalBlueGamutGetSetListFromJson function

List<InputPortsHdmiHdmiPortNumberDynacalBlueGamutGetSet> inputPortsHdmiHdmiPortNumberDynacalBlueGamutGetSetListFromJson(
  1. List? inputPortsHdmiHdmiPortNumberDynacalBlueGamutGetSet, [
  2. List<InputPortsHdmiHdmiPortNumberDynacalBlueGamutGetSet>? defaultValue
])

Implementation

List<enums.InputPortsHdmiHdmiPortNumberDynacalBlueGamutGetSet>
    inputPortsHdmiHdmiPortNumberDynacalBlueGamutGetSetListFromJson(
  List? inputPortsHdmiHdmiPortNumberDynacalBlueGamutGetSet, [
  List<enums.InputPortsHdmiHdmiPortNumberDynacalBlueGamutGetSet>? defaultValue,
]) {
  if (inputPortsHdmiHdmiPortNumberDynacalBlueGamutGetSet == null) {
    return defaultValue ?? [];
  }

  return inputPortsHdmiHdmiPortNumberDynacalBlueGamutGetSet
      .map((e) => inputPortsHdmiHdmiPortNumberDynacalBlueGamutGetSetFromJson(
          e.toString()))
      .toList();
}