SelectIndex class abstract

Implemented types

Constructors

SelectIndex({required int index})
const
factory

Properties

copyWith → _$$SelectIndexImplCopyWith<_$SelectIndexImpl>
Create a copy of WalletEvent with the given fields replaced by the non-null parameter values.
no setter
hashCode int
The hash code for this object.
no setterinherited
index int
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

map<TResult extends Object?>({required TResult checkCode(CheckCode value), required TResult getWallets(GetWallets value), required TResult createCard(CreateCard value), required TResult deleteCard(DeleteCard value), required TResult topUp(TopUp value), required TResult withdraw(Withdraw value), required TResult selectIndex(SelectIndex value), required TResult getTransaction(GetTransaction value)}) → TResult
inherited
mapOrNull<TResult extends Object?>({TResult? checkCode(CheckCode value)?, TResult? getWallets(GetWallets value)?, TResult? createCard(CreateCard value)?, TResult? deleteCard(DeleteCard value)?, TResult? topUp(TopUp value)?, TResult? withdraw(Withdraw value)?, TResult? selectIndex(SelectIndex value)?, TResult? getTransaction(GetTransaction value)?}) → TResult?
inherited
maybeMap<TResult extends Object?>({TResult checkCode(CheckCode value)?, TResult getWallets(GetWallets value)?, TResult createCard(CreateCard value)?, TResult deleteCard(DeleteCard value)?, TResult topUp(TopUp value)?, TResult withdraw(Withdraw value)?, TResult selectIndex(SelectIndex value)?, TResult getTransaction(GetTransaction value)?, required TResult orElse()}) → TResult
inherited
maybeWhen<TResult extends Object?>({TResult checkCode(BuildContext context, String code, VoidCallback onSuccess)?, TResult getWallets(BuildContext context)?, TResult createCard(BuildContext context, String number, String expiredDate, VoidCallback onSuccess)?, TResult deleteCard(BuildContext context, int cardId)?, TResult topUp(BuildContext context, int cardId, num amount, VoidCallback onSuccess)?, TResult withdraw(BuildContext context, int cardId, num amount, VoidCallback onSuccess)?, TResult selectIndex(int index)?, TResult getTransaction(BuildContext context, RefreshController? controller, bool? isRefresh)?, 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 checkCode(BuildContext context, String code, VoidCallback onSuccess), required TResult getWallets(BuildContext context), required TResult createCard(BuildContext context, String number, String expiredDate, VoidCallback onSuccess), required TResult deleteCard(BuildContext context, int cardId), required TResult topUp(BuildContext context, int cardId, num amount, VoidCallback onSuccess), required TResult withdraw(BuildContext context, int cardId, num amount, VoidCallback onSuccess), required TResult selectIndex(int index), required TResult getTransaction(BuildContext context, RefreshController? controller, bool? isRefresh)}) → TResult
inherited
whenOrNull<TResult extends Object?>({TResult? checkCode(BuildContext context, String code, VoidCallback onSuccess)?, TResult? getWallets(BuildContext context)?, TResult? createCard(BuildContext context, String number, String expiredDate, VoidCallback onSuccess)?, TResult? deleteCard(BuildContext context, int cardId)?, TResult? topUp(BuildContext context, int cardId, num amount, VoidCallback onSuccess)?, TResult? withdraw(BuildContext context, int cardId, num amount, VoidCallback onSuccess)?, TResult? selectIndex(int index)?, TResult? getTransaction(BuildContext context, RefreshController? controller, bool? isRefresh)?}) → TResult?
inherited

Operators

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