inputPortsDviDviPortNumberDynacalWhiteGamutGetSetListFromJson function

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

Implementation

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

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