stop static method

Future<void> stop()

Stops the current session recording. Unlike pause, when calling resume, a new session will be created and linked to the previous recording. Useful if you want short session recordings of specific use-cases of the app. Hidden widgets and user identity will be applied to the new session as well.

Implementation

static Future<void> stop() async {
  TestFairyBase.prepareTwoWayInvoke();

  await TestFairyBase.channel.invokeMethod<void>('stop');
}