addFlutterError method

Future<void> addFlutterError(
  1. FlutterErrorDetails error
)

Convenience method for addError

Implementation

Future<void> addFlutterError(FlutterErrorDetails error) async {
  return await channel.invokeMethod('rumAddError', {
    'message': error.exceptionAsString(),
    'stack': error.stack.toString(),
  });
}