toOffset method

Offset toOffset()

Maps the Point to an Offset.

Implementation

Offset toOffset() => Offset(x.toDouble(), y.toDouble());