durationInSeconds property
final
When non-null, the entire overlay (confetti + message) is dismissed after this many seconds at minimum 1 (clamped to 3600 in the engine). If particles finish earlier, the overlay still closes then.
When null, dismissal follows particle lifetime only.
Implementation
final int? durationInSeconds;