didLastSessionCrash static method
Indicates in runtime whether your last session was crashed.
Implementation
static Future<bool> didLastSessionCrash() async {
TestFairyBase.prepareTwoWayInvoke();
final bool? didCrash =
await TestFairyBase.channel.invokeMethod<bool>('didLastSessionCrash');
return didCrash!;
}