inputPortsHdmiHdmiPortNumberDynacalGreenGamutGetSetNullableListFromJson function

List<InputPortsHdmiHdmiPortNumberDynacalGreenGamutGetSet>? inputPortsHdmiHdmiPortNumberDynacalGreenGamutGetSetNullableListFromJson(
  1. List? inputPortsHdmiHdmiPortNumberDynacalGreenGamutGetSet, [
  2. List<InputPortsHdmiHdmiPortNumberDynacalGreenGamutGetSet>? defaultValue
])

Implementation

List<enums.InputPortsHdmiHdmiPortNumberDynacalGreenGamutGetSet>?
    inputPortsHdmiHdmiPortNumberDynacalGreenGamutGetSetNullableListFromJson(
  List? inputPortsHdmiHdmiPortNumberDynacalGreenGamutGetSet, [
  List<enums.InputPortsHdmiHdmiPortNumberDynacalGreenGamutGetSet>? defaultValue,
]) {
  if (inputPortsHdmiHdmiPortNumberDynacalGreenGamutGetSet == null) {
    return defaultValue;
  }

  return inputPortsHdmiHdmiPortNumberDynacalGreenGamutGetSet
      .map((e) => inputPortsHdmiHdmiPortNumberDynacalGreenGamutGetSetFromJson(
          e.toString()))
      .toList();
}