create method

Future<CGPoint> create(
  1. double x,
  2. double y
)

Implementation

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