setScreenName static method
Set a custom name for the current screen. Useful for applications that don't use more than one activity or view controller.
This name is displayed for a given screenshot, and will override the name of the current screen.
Implementation
static Future<void> setScreenName(String name) async {
TestFairyBase.prepareTwoWayInvoke();
await TestFairyBase.channel.invokeMethod<void>('setScreenName', name);
}