SawTooth constructor Null safety

const SawTooth(
  1. int count
)

Creates a sawtooth curve.

The count argument must not be null.

Implementation

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