AuthServerException class Null safety

An exception thrown by AuthServer.

Implemented types

Constructors

AuthServerException(AuthRequestError reason, AuthClient? client)

Properties

client AuthClient?
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
reason AuthRequestError
read / write
reasonString String?
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

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

Operators

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

Static Methods

errorString(AuthRequestError error) String?
Returns a string suitable to be included in a query string or JSON response body to indicate the error during processing an OAuth 2.0 request.