setReplayFrame method
Hands the native recorder a frame Flutter rendered: RGBA, premultiplied,
width x height, with the masks of that same frame as in
setReplayMasks. Only while ReplayMaskRules.captureFrames says so.
Implementation
@override
Future<void> setReplayFrame(
Uint8List rgba, {
required int width,
required int height,
required List<double> rects,
}) async {
await methodChannel.invokeMethod<void>('setReplayFrame', {
'rgba': rgba,
'width': width,
'height': height,
'rects': rects,
});
}