didCrashOnPreviousExecution method
Checks whether the app crashed on its previous run.
Implementation
@override
Future<bool> didCrashOnPreviousExecution() async {
try {
Map<String, dynamic>? data =
await channel.invokeMapMethod<String, dynamic>(
'Crashlytics#didCrashOnPreviousExecution');
return data!['didCrashOnPreviousExecution'];
} on PlatformException catch (e, s) {
throw platformExceptionToFirebaseException(e, s);
}
}