inputPortsHdmiHdmiPortNumberDynacalGreenGamutGetSetListFromJson function

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

Implementation

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

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