toJson method
Implementation
Map<String, dynamic> toJson() {
final _json = <String, dynamic>{};
_json[r'amount'] = amount;
_json[r'decimals'] = decimals;
if (uiAmount != null) {
_json[r'uiAmount'] = uiAmount;
} else {
_json[r'uiAmount'] = null;
}
if (uiAmountString != null) {
_json[r'uiAmountString'] = uiAmountString;
} else {
_json[r'uiAmountString'] = null;
}
return _json;
}