create static method

Future<CGSize> create(
  1. double width,
  2. double height
)

Implementation

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