inputPortsDviDviPortNumberDynacalGreenGamutGetSetNullableListFromJson function

List<InputPortsDviDviPortNumberDynacalGreenGamutGetSet>? inputPortsDviDviPortNumberDynacalGreenGamutGetSetNullableListFromJson(
  1. List? inputPortsDviDviPortNumberDynacalGreenGamutGetSet, [
  2. List<InputPortsDviDviPortNumberDynacalGreenGamutGetSet>? defaultValue
])

Implementation

List<enums.InputPortsDviDviPortNumberDynacalGreenGamutGetSet>?
    inputPortsDviDviPortNumberDynacalGreenGamutGetSetNullableListFromJson(
  List? inputPortsDviDviPortNumberDynacalGreenGamutGetSet, [
  List<enums.InputPortsDviDviPortNumberDynacalGreenGamutGetSet>? defaultValue,
]) {
  if (inputPortsDviDviPortNumberDynacalGreenGamutGetSet == null) {
    return defaultValue;
  }

  return inputPortsDviDviPortNumberDynacalGreenGamutGetSet
      .map((e) => inputPortsDviDviPortNumberDynacalGreenGamutGetSetFromJson(
          e.toString()))
      .toList();
}