AuthorizationEvent class

Event object provided to BackgroundGeolocation.onAuthorization.

Constructors

AuthorizationEvent(Map data)

Properties

error String?
When success false, this is the error message from Authorization.refreshUrl.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
response Map?
when success true, this is the data returned from Authorization.refreshUrl.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status int
HTTP Status returned from your Authorization.refreshURl (or 0 if the HTTP request failed).
getter/setter pair
success bool
true when an authorization request to Authorization.refreshUrl was successful.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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