Tangent constructor

const Tangent(Offset position Offset vector)

Creates a Tangent with the given values.

The arguments must not be null.

Implementation

const Tangent(this.position, this.vector)
  : assert(position != null),
    assert(vector != null);