confettiRotationAt function
Rotation (radians) at t seconds since the burst started.
Implementation
double confettiRotationAt(ConfettiParticle particle, double t) =>
particle.startRotation + particle.rotationSpeed * t;
Rotation (radians) at t seconds since the burst started.
double confettiRotationAt(ConfettiParticle particle, double t) =>
particle.startRotation + particle.rotationSpeed * t;