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