recordCrash method

  1. @override
Future<void> recordCrash(
  1. Map<String, dynamic> errorData
)
override

Records a crash with the given error data.

This method sends the error data to the native implementation for crash reporting.

Implementation

@override
Future<void> recordCrash(Map<String, dynamic> errorData) async {
  await methodChannel.invokeMethod<void>(
    'recordCrash',
    errorData,
  );
}