inputPortsHdmiHdmiPortNumberDynacalBlueGamutGetSetNullableListFromJson function

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

Implementation

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

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