Logout class abstract

Implemented types

Constructors

Logout({required BuildContext context, VoidCallback? onSuccess})
const
factory

Properties

context BuildContext
no setteroverride
copyWith → _$$LogoutImplCopyWith<_$LogoutImpl>
Create a copy of AuthEvent with the given fields replaced by the non-null parameter values.
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
onSuccess VoidCallback?
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

map<TResult extends Object?>({required TResult sendCode(SendCode value), required TResult checkCode(CheckCode value), required TResult logout(Logout value)}) → TResult
inherited
mapOrNull<TResult extends Object?>({TResult? sendCode(SendCode value)?, TResult? checkCode(CheckCode value)?, TResult? logout(Logout value)?}) → TResult?
inherited
maybeMap<TResult extends Object?>({TResult sendCode(SendCode value)?, TResult checkCode(CheckCode value)?, TResult logout(Logout value)?, required TResult orElse()}) → TResult
inherited
maybeWhen<TResult extends Object?>({TResult sendCode(BuildContext context, String phone, VoidCallback? onSuccess)?, TResult checkCode(BuildContext context, String phone, String code, VoidCallback? onSuccess)?, TResult logout(BuildContext context, VoidCallback? onSuccess)?, 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 sendCode(BuildContext context, String phone, VoidCallback? onSuccess), required TResult checkCode(BuildContext context, String phone, String code, VoidCallback? onSuccess), required TResult logout(BuildContext context, VoidCallback? onSuccess)}) → TResult
inherited
whenOrNull<TResult extends Object?>({TResult? sendCode(BuildContext context, String phone, VoidCallback? onSuccess)?, TResult? checkCode(BuildContext context, String phone, String code, VoidCallback? onSuccess)?, TResult? logout(BuildContext context, VoidCallback? onSuccess)?}) → TResult?
inherited

Operators

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