setReplayMasks method
Hands the native recorder what to paint over in Flutter's surface:
flat [left, top, right, bottom, ...] in logical pixels of the view,
replacing the previous set.
Implementation
@override
Future<void> setReplayMasks(List<double> rects) async {
await methodChannel.invokeMethod<void>('setReplayMasks', {'rects': rects});
}