StakeDeregistration.fromJson constructor

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

Implementation

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