Bugsnag class
Properties
hashCode
→ int
The hash code for this object.
no setter inherited
projectPackageName
↔ String ?
For use with Bugsnag's inProject
feature, this should be the name of the package where
bugsnag_flutter is directly imported. For example, my_app
.
getter/setter pair
runtimeType
→ Type
A representation of the runtime type of the object.
no setter inherited
Methods
configure ({String ? androidApiKey , String ? iosApiKey , bool persistUser = true , String ? releaseStage , String ? projectPackageName })
→ Future <void >
Provision the client. This method must be called before any subsequent methods.
It's recommended that this method is await
d in void main()
before runApp
.
leaveBreadcrumb (String ? message , {BugsnagBreadcrumb ? type })
→ Future <void >
Notify Bugsnag of a user behavior preceeding an error
noSuchMethod (Invocation invocation )
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
notify ({String ? context , required String description , String ? name , required List <Map <String , dynamic > > stackTrace , StackTrace ? additionalStackTrace })
→ Future <void >
Log an error
recordError (Object error , StackTrace stackTrace )
→ Future <void >
Convenience method for notify
recordFlutterError (FlutterErrorDetails error )
→ Future <void >
Convenience method for notify
setUser (String id , {String ? email , String ? name })
→ Future <void >
Attach user information to subsequent reports to Bugsnag
toString ()
→ String
A string representation of this object.
inherited