stack_wallet/lib/models/ethereum/eth_token.dart

27 lines
539 B
Dart
Raw Normal View History

2023-02-23 22:59:58 +00:00
class EthToken {
EthToken({
required this.contractAddress,
required this.name,
required this.symbol,
required this.decimals,
required this.balance,
});
final String contractAddress;
final String name;
final String symbol;
final int decimals;
final int balance;
2023-02-28 19:26:17 +00:00
@override
String toString() {
return "$runtimeType: { "
"name: $name, "
"symbol: $symbol, "
"contractAddress: $contractAddress, "
"decimals: $decimals, "
"balance: $balance"
" }";
}
2023-02-23 22:59:58 +00:00
}