SawTooth constructor

const SawTooth(int count)

Creates a sawtooth curve.

The count argument must not be null.

Implementation

const SawTooth(this.count) : assert(count != null);