StakeRegistration.fromJson constructor

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

Implementation

factory StakeRegistration.fromJson(Map<String, dynamic> json) {
  return StakeRegistration(StakeCred.fromJson(json["stake_credential"] ??
      json["stake_registration"]["stake_credential"]));
}