WalletState class

Annotations
  • @freezed

Constructors

WalletState({@Default([]) List<CardModel> list, @Default([]) List<TransactionModel> listTransactions, @Default(true) bool isLoading, @Default(false) bool isButtonLoading, @Default(false) bool isError, @Default(0) int selectIndex})
const
factory

Properties

copyWith → $WalletStateCopyWith<WalletState>
Create a copy of WalletState with the given fields replaced by the non-null parameter values.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
isButtonLoading bool
no setterinherited
isError bool
no setterinherited
isLoading bool
no setterinherited
list List<CardModel>
no setterinherited
listTransactions List<TransactionModel>
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selectIndex int
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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