updateRect method
Implementation
@override
Future<void> updateRect(Rect rect, {double? pixelRatio}) {
return methodChannel.invokeMethod<void>('updateRect', <String, Object?>{
'rect': <String, double>{
'left': rect.left,
'top': rect.top,
'width': rect.width,
'height': rect.height,
},
'pixelRatio': pixelRatio,
});
}