createWithPoint static method
Implementation
static Future<CGPoint> createWithPoint(Point point) async {
final result = await kMethodChannel
.invokeMethod<Ref>('CGPoint::create', {'x': point.x, 'y': point.y});
return CGPoint()..refId = result?.refId;
}