Balance class

The amounts for polys and arbits are displayed as 10^-9 of the respective denomination

Constructors

Balance({required String address, required PolyAmount polys, required ArbitAmount arbits, List<AssetAmount>? assets})
Balance.fromData(Map<String, dynamic> data, String address)
factory
Balance.fromJson(Map<String, dynamic> map, String address)
factory

Properties

address String
final
arbits ArbitAmount
final
assets List<AssetAmount>?
final
hashCode int
The hash code for this object.
no setterinherited
polys PolyAmount
final
runtimeType Type
A representation of the runtime type of the object.
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.
override

Operators

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