AuthenticationEvent class

Annotations

Constructors

AuthenticationEvent.logoutButtonPressed()
const
factory
AuthenticationEvent.started()
const
factory
AuthenticationEvent.statusChanged({required AuthenticationStatus status})
const
factory

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

map<TResult extends Object?>({required TResult started(_Started value), required TResult statusChanged(_AuthenticationStatusChanged value), required TResult logoutButtonPressed(_LogoutButtonPressed value)}) → TResult
inherited
mapOrNull<TResult extends Object?>({TResult? started(_Started value)?, TResult? statusChanged(_AuthenticationStatusChanged value)?, TResult? logoutButtonPressed(_LogoutButtonPressed value)?}) → TResult?
inherited
maybeMap<TResult extends Object?>({TResult started(_Started value)?, TResult statusChanged(_AuthenticationStatusChanged value)?, TResult logoutButtonPressed(_LogoutButtonPressed value)?, required TResult orElse()}) → TResult
inherited
maybeWhen<TResult extends Object?>({TResult started()?, TResult statusChanged(AuthenticationStatus status)?, TResult logoutButtonPressed()?, required TResult orElse()}) → TResult
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
when<TResult extends Object?>({required TResult started(), required TResult statusChanged(AuthenticationStatus status), required TResult logoutButtonPressed()}) → TResult
inherited
whenOrNull<TResult extends Object?>({TResult? started()?, TResult? statusChanged(AuthenticationStatus status)?, TResult? logoutButtonPressed()?}) → TResult?
inherited

Operators

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