BugsnagNotifier class

Constructors

BugsnagNotifier(String _apiKey, {String releaseStage = 'production'})
Creates a new bugsnag reporter with your Bugsnag API key and releaseState which defults to production.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
user Map<String, String>?
Get the current user infomation
no setter

Methods

addUser({required String userId, required String userName, required String userEmail}) → void
Adds userId, userName and userEmail to bugsnag error reporter
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
notify(dynamic error, StackTrace stackTrace, {ErrorSeverity severity = ErrorSeverity.error}) Future<void>
Send error and stackTrace to bugsnag
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited