inputPortsDviDviPortNumberDynacalWhiteGamutGetSetNullableListFromJson function

List<InputPortsDviDviPortNumberDynacalWhiteGamutGetSet>? inputPortsDviDviPortNumberDynacalWhiteGamutGetSetNullableListFromJson(
  1. List? inputPortsDviDviPortNumberDynacalWhiteGamutGetSet, [
  2. List<InputPortsDviDviPortNumberDynacalWhiteGamutGetSet>? defaultValue
])

Implementation

List<enums.InputPortsDviDviPortNumberDynacalWhiteGamutGetSet>?
    inputPortsDviDviPortNumberDynacalWhiteGamutGetSetNullableListFromJson(
  List? inputPortsDviDviPortNumberDynacalWhiteGamutGetSet, [
  List<enums.InputPortsDviDviPortNumberDynacalWhiteGamutGetSet>? defaultValue,
]) {
  if (inputPortsDviDviPortNumberDynacalWhiteGamutGetSet == null) {
    return defaultValue;
  }

  return inputPortsDviDviPortNumberDynacalWhiteGamutGetSet
      .map((e) => inputPortsDviDviPortNumberDynacalWhiteGamutGetSetFromJson(
          e.toString()))
      .toList();
}