crashTracker method
Future<void>
crashTracker({
- required String exception,
- required String stacktrace,
- required String reason,
- required bool isFatal,
- String? arch,
override
Implementation
@override
Future<void> crashTracker(
{required String exception,
required String stacktrace,
required String reason,
required bool isFatal,
String? arch}) async {
if (Platform.isIOS) {
methodChannel.invokeMethod<void>('crashTracker', <String, dynamic>{
"issueName": exception,
"stackTrace": stacktrace,
"reason": reason,
"arch": arch ?? '',
"isFatal": isFatal
});
} else if (Platform.isAndroid) {
methodChannel.invokeMethod<void>('crashTracker', <String, dynamic>{
"issueName": exception,
"stackTrace": stacktrace,
"reason": reason,
"arch": arch ?? '',
"isFatal": isFatal
});
}
}