inputPortsDviDviPortNumberDynacalBlueGamutGetSetNullableListFromJson function

List<InputPortsDviDviPortNumberDynacalBlueGamutGetSet>? inputPortsDviDviPortNumberDynacalBlueGamutGetSetNullableListFromJson(
  1. List? inputPortsDviDviPortNumberDynacalBlueGamutGetSet, [
  2. List<InputPortsDviDviPortNumberDynacalBlueGamutGetSet>? defaultValue
])

Implementation

List<enums.InputPortsDviDviPortNumberDynacalBlueGamutGetSet>?
    inputPortsDviDviPortNumberDynacalBlueGamutGetSetNullableListFromJson(
  List? inputPortsDviDviPortNumberDynacalBlueGamutGetSet, [
  List<enums.InputPortsDviDviPortNumberDynacalBlueGamutGetSet>? defaultValue,
]) {
  if (inputPortsDviDviPortNumberDynacalBlueGamutGetSet == null) {
    return defaultValue;
  }

  return inputPortsDviDviPortNumberDynacalBlueGamutGetSet
      .map((e) => inputPortsDviDviPortNumberDynacalBlueGamutGetSetFromJson(
          e.toString()))
      .toList();
}