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