toJson method
Converts the data to a JSON representation.
Implementation
@override
Map<String, dynamic> toJson() {
return {
"community_tax": communityTax,
"base_proposer_reward": baseProposerReward,
"bonus_proposer_reward": bonusProposerReward,
"withdraw_addr_enabled": withdrawAddrEnabled
};
}