inputPortsSdiSdiPortNumberDynacalGreenGamutGetSetNullableListFromJson function

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

Implementation

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

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