AuthorizationRequiredEvent class

Event sent to AuthorizationExpiredCallback when a new authorization is required.

Constructors

AuthorizationRequiredEvent(AuthorizationRequiredEventType type, [DateTime? currentExpiration])
type type type of the event, one of AuthorizationRequiredEventType. currentExpiration when the current Authorization expires.

Properties

currentExpiration DateTime?
When the current Authorization expires, if relevant - note that this might well still be in the future, but the "slack" left before expiration is used up.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type AuthorizationRequiredEventType
Type of the event, one of {@link AuthorizationRequiredEvent}.
final

Methods

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

Operators

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