AuthFeedback class abstract

Shows the auth flows' results in the app's own alert style.

Constructors

AuthFeedback()
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

failure(Failure failure) → void
A backend call failed. Failure.messages may be empty (no connection, unknown error), the app then shows its own text for the failure type.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
success(String? message) → void
A call succeeded. message is the backend's text, null when it sent none, the app decides whether to show anything then.
toString() → String
A string representation of this object.
inherited
warning(AuthWarning warning) → void
A local check failed before any backend call.

Operators

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