inputPortsDviDviPortNumberDynacalGreenGamutGetSetListFromJson function

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

Implementation

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

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