FractionalSpanExtent constructor

const FractionalSpanExtent(
  1. double fraction
)

Creates a FractionalSpanExtent.

The provided fraction value must be equal to or greater than zero.

Implementation

const FractionalSpanExtent(
  this.fraction,
) : assert(fraction >= 0.0);