mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-01-15 15:14:31 +00:00
26 lines
539 B
Dart
26 lines
539 B
Dart
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;
|
|
|
|
@override
|
|
String toString() {
|
|
return "$runtimeType: { "
|
|
"name: $name, "
|
|
"symbol: $symbol, "
|
|
"contractAddress: $contractAddress, "
|
|
"decimals: $decimals, "
|
|
"balance: $balance"
|
|
" }";
|
|
}
|
|
}
|