toJson method
Implementation
Map<String, dynamic> toJson() {
final _data = <String, dynamic>{};
_data['suiAddress'] = suiAddress;
_data['protocolPubkeyBytes'] = protocolPubkeyBytes;
_data['networkPubkeyBytes'] = networkPubkeyBytes;
_data['workerPubkeyBytes'] = workerPubkeyBytes;
_data['proofOfPossessionBytes'] = proofOfPossessionBytes;
_data['name'] = name;
_data['description'] = description;
_data['imageUrl'] = imageUrl;
_data['projectUrl'] = projectUrl;
_data['netAddress'] = netAddress;
_data['p2pAddress'] = p2pAddress;
_data['primaryAddress'] = primaryAddress;
_data['workerAddress'] = workerAddress;
_data['nextEpochProtocolPubkeyBytes'] = nextEpochProtocolPubkeyBytes;
_data['nextEpochProofOfPossession'] = nextEpochProofOfPossession;
_data['nextEpochNetworkPubkeyBytes'] = nextEpochNetworkPubkeyBytes;
_data['nextEpochWorkerPubkeyBytes'] = nextEpochWorkerPubkeyBytes;
_data['nextEpochNetAddress'] = nextEpochNetAddress;
_data['nextEpochP2pAddress'] = nextEpochP2pAddress;
_data['nextEpochPrimaryAddress'] = nextEpochPrimaryAddress;
_data['nextEpochWorkerAddress'] = nextEpochWorkerAddress;
_data['votingPower'] = votingPower;
_data['operationCapId'] = operationCapId;
_data['gasPrice'] = gasPrice;
_data['commissionRate'] = commissionRate;
_data['nextEpochStake'] = nextEpochStake;
_data['nextEpochGasPrice'] = nextEpochGasPrice;
_data['nextEpochCommissionRate'] = nextEpochCommissionRate;
_data['stakingPoolId'] = stakingPoolId;
_data['stakingPoolActivationEpoch'] = stakingPoolActivationEpoch;
_data['stakingPoolDeactivationEpoch'] = stakingPoolDeactivationEpoch;
_data['stakingPoolSuiBalance'] = stakingPoolSuiBalance;
_data['rewardsPool'] = rewardsPool;
_data['poolTokenBalance'] = poolTokenBalance;
_data['pendingStake'] = pendingStake;
_data['pendingTotalSuiWithdraw'] = pendingTotalSuiWithdraw;
_data['pendingPoolTokenWithdraw'] = pendingPoolTokenWithdraw;
_data['exchangeRatesId'] = exchangeRatesId;
_data['exchangeRatesSize'] = exchangeRatesSize;
return _data;
}