TinkoffIdResult class
The result of the login.
Constructors
- TinkoffIdResult.failure(String message, TinkoffIdFailure failureValue)
- Failed result constructor.
- TinkoffIdResult.success(TokenPayload tokenPayload)
- Success constructor.
Properties
- failureValue ↔ TinkoffIdFailure
-
Type of reason for failure.
latefinal
- hashCode → int
-
The hash code for this object.
no setterinherited
- isSuccess ↔ bool
-
Login success.
latefinal
- message ↔ String
-
Message on failure.
latefinal
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- tokenPayload ↔ TokenPayload
-
A set of tokens if successful.
latefinal
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