ADAStakeAccountResponse.fromJson constructor
ADAStakeAccountResponse.fromJson(
- Map<String, dynamic> json
)
Implementation
factory ADAStakeAccountResponse.fromJson(Map<String, dynamic> json) {
return ADAStakeAccountResponse(
stakeAddress: json['stake_address'],
active: json['active'],
activeEpoch: json['active_epoch'],
controlledAmount: json['controlled_amount'],
rewardsSum: json['rewards_sum'],
withdrawalsSum: json['withdrawals_sum'],
reservesSum: json['reserves_sum'],
treasurySum: json['treasury_sum'],
withdrawableAmount: json['withdrawable_amount'],
poolId: json['pool_id'],
);
}