toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  return {
    "pubkey": pubkey.address,
    "account": account.toJson(),
    "token_account": tokenAccount.serialize()
  };
}