toJson method
Implementation
Map<String, dynamic> toJson() {
final _json = <String, dynamic>{};
_json[r'account'] = account;
if (balance != null) {
_json[r'balance'] = balance;
} else {
_json[r'balance'] = null;
}
if (closeAuthority != null) {
_json[r'closeAuthority'] = closeAuthority;
} else {
_json[r'closeAuthority'] = null;
}
_json[r'decimals'] = decimals;
_json[r'mint'] = mint;
if (owner != null) {
_json[r'owner'] = owner;
} else {
_json[r'owner'] = null;
}
return _json;
}