toOffset static method

dynamic toOffset(
  1. GeoCoordinate2D coord
)

Convert a 2-dimensional coordinate to Offset

Implementation

static toOffset(GeoCoordinate2D coord) => Offset(coord.x, coord.y);