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