fromNative static method

GPoint fromNative(
  1. Offset nativeOffset
)

Creates a point instance from an dart Offset.

Implementation

static GPoint fromNative(Offset nativeOffset) {
  return GPoint(nativeOffset.dx, nativeOffset.dy);
}