StakeObject.fromJson constructor

StakeObject.fromJson(
  1. Map<String, dynamic> json
)

Implementation

StakeObject.fromJson(Map<String, dynamic> json) {
  stakedSuiId = json['stakedSuiId'];
  stakeRequestEpoch = json['stakeRequestEpoch'];
  stakeActiveEpoch = json['stakeActiveEpoch'];
  principal = json['principal'];
  status = json['status'];
  estimatedReward = json['estimatedReward'];
}