inputPortsHdmiHdmiPortNumberDynacalWhiteGamutGetSetNullableListFromJson function

List<InputPortsHdmiHdmiPortNumberDynacalWhiteGamutGetSet>? inputPortsHdmiHdmiPortNumberDynacalWhiteGamutGetSetNullableListFromJson(
  1. List? inputPortsHdmiHdmiPortNumberDynacalWhiteGamutGetSet, [
  2. List<InputPortsHdmiHdmiPortNumberDynacalWhiteGamutGetSet>? defaultValue
])

Implementation

List<enums.InputPortsHdmiHdmiPortNumberDynacalWhiteGamutGetSet>?
    inputPortsHdmiHdmiPortNumberDynacalWhiteGamutGetSetNullableListFromJson(
  List? inputPortsHdmiHdmiPortNumberDynacalWhiteGamutGetSet, [
  List<enums.InputPortsHdmiHdmiPortNumberDynacalWhiteGamutGetSet>? defaultValue,
]) {
  if (inputPortsHdmiHdmiPortNumberDynacalWhiteGamutGetSet == null) {
    return defaultValue;
  }

  return inputPortsHdmiHdmiPortNumberDynacalWhiteGamutGetSet
      .map((e) => inputPortsHdmiHdmiPortNumberDynacalWhiteGamutGetSetFromJson(
          e.toString()))
      .toList();
}