inputPortsHdmiHdmiPortNumberDynacalRedGamutGetSetNullableListFromJson function

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

Implementation

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

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