inputPortsSdiSdiPortNumberDynacalGreenGamutGetSetListFromJson function

List<InputPortsSdiSdiPortNumberDynacalGreenGamutGetSet> inputPortsSdiSdiPortNumberDynacalGreenGamutGetSetListFromJson(
  1. List? inputPortsSdiSdiPortNumberDynacalGreenGamutGetSet, [
  2. List<InputPortsSdiSdiPortNumberDynacalGreenGamutGetSet>? defaultValue
])

Implementation

List<enums.InputPortsSdiSdiPortNumberDynacalGreenGamutGetSet>
    inputPortsSdiSdiPortNumberDynacalGreenGamutGetSetListFromJson(
  List? inputPortsSdiSdiPortNumberDynacalGreenGamutGetSet, [
  List<enums.InputPortsSdiSdiPortNumberDynacalGreenGamutGetSet>? defaultValue,
]) {
  if (inputPortsSdiSdiPortNumberDynacalGreenGamutGetSet == null) {
    return defaultValue ?? [];
  }

  return inputPortsSdiSdiPortNumberDynacalGreenGamutGetSet
      .map((e) => inputPortsSdiSdiPortNumberDynacalGreenGamutGetSetFromJson(
          e.toString()))
      .toList();
}