inputPortsSdiSdiPortNumberDynacalWhiteGamutGetSetListFromJson function

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

Implementation

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

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