inputPortsSdiSdiPortNumberDynacalWhiteGamutGetSetNullableListFromJson function

List<InputPortsSdiSdiPortNumberDynacalWhiteGamutGetSet>? inputPortsSdiSdiPortNumberDynacalWhiteGamutGetSetNullableListFromJson(
  1. List? inputPortsSdiSdiPortNumberDynacalWhiteGamutGetSet, [
  2. List<InputPortsSdiSdiPortNumberDynacalWhiteGamutGetSet>? defaultValue
])

Implementation

List<enums.InputPortsSdiSdiPortNumberDynacalWhiteGamutGetSet>?
    inputPortsSdiSdiPortNumberDynacalWhiteGamutGetSetNullableListFromJson(
  List? inputPortsSdiSdiPortNumberDynacalWhiteGamutGetSet, [
  List<enums.InputPortsSdiSdiPortNumberDynacalWhiteGamutGetSet>? defaultValue,
]) {
  if (inputPortsSdiSdiPortNumberDynacalWhiteGamutGetSet == null) {
    return defaultValue;
  }

  return inputPortsSdiSdiPortNumberDynacalWhiteGamutGetSet
      .map((e) => inputPortsSdiSdiPortNumberDynacalWhiteGamutGetSetFromJson(
          e.toString()))
      .toList();
}