Wallet class sealed

Wallet model

Annotations
  • @freezed

Constructors

Wallet.new({@JsonKey(name: '_id') required String id, required String name, required String address, required String balance, required String currencyName, required String currencySymbol, required String price, String? addressRegex, String? alternativeAddress, String? alternativeAddressRegex, String? externalWalletId, String? externalCurrencyId, Images? image, Network? network, String? contractAddress, String? assetRef, bool? security, bool? hidden, String? type, List<WalletToken>? tokens, int? nftBalance, int? fiat})
Wallet model
const
factory
Wallet.fromJson(Map<String, dynamic> json)
Returns a Wallet from a JSON object
factory

Properties

address String
no setterinherited
addressRegex String?
no setterinherited
alternativeAddress String?
no setterinherited
alternativeAddressRegex String?
no setterinherited
assetRef String?
no setterinherited
balance String
no setterinherited
contractAddress String?
no setterinherited
copyWith → $WalletCopyWith<Wallet>
no setterinherited
currencyName String
no setterinherited
currencySymbol String
no setterinherited
externalCurrencyId String?
no setterinherited
externalWalletId String?
no setterinherited
fiat int?
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
hidden bool?
no setterinherited
id String
no setterinherited
image → Images?
no setterinherited
name String
no setterinherited
network → Network?
no setterinherited
nftBalance int?
no setterinherited
price String
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
security bool?
no setterinherited
tokens List<WalletToken>?
no setterinherited
type String?
no setterinherited

Methods

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

Operators

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