emissionEndTime property
double
get
emissionEndTime
The time at which emission naturally ends: duration when set, infinity for an endless rate-based emitter, and the time of the last burst for a burst-only emitter.
Implementation
double get emissionEndTime {
final duration = this.duration;
if (duration != null) {
return duration;
}
if (rate > 0) {
return double.infinity;
}
var end = 0.0;
for (final burst in bursts) {
if (burst.time > end) {
end = burst.time;
}
}
return end;
}