ParticleCurve.linear constructor
A straight ramp from from at t = 0 to to at t = 1.
Implementation
ParticleCurve.linear({double from = 0.0, double to = 1.0})
: this(<ParticleKeyframe>[
ParticleKeyframe(0, from),
ParticleKeyframe(1, to),
], resolution: 2);