stack_wallet/lib/models/ethereum/eth_token.dart
2023-02-28 13:26:17 -06:00

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"
" }";
}
}