toJson method
Implementation
Map<String, dynamic> toJson() {
final _json = <String, dynamic>{};
_json[r'addMemo'] = addMemo;
_json[r'airdrop'] = airdrop;
if (airdropAmount != null) {
_json[r'airdropAmount'] = airdropAmount;
} else {
_json[r'airdropAmount'] = null;
}
if (airdropMax != null) {
_json[r'airdropMax'] = airdropMax;
} else {
_json[r'airdropMax'] = null;
}
_json[r'decimals'] = decimals;
_json[r'feePayer'] = feePayer;
_json[r'logoUrl'] = logoUrl;
_json[r'name'] = name;
_json[r'programId'] = programId;
_json[r'publicKey'] = publicKey;
_json[r'symbol'] = symbol;
return _json;
}