PoolRetirement.fromJson constructor
Implementation
factory PoolRetirement.fromJson(Map<String, dynamic> json) {
final Map<String, dynamic> correctJson = json["pool_retirement"] ?? json;
return PoolRetirement(
epoch: correctJson["epoch"],
poolKeyHash: Ed25519KeyHash.fromHex(correctJson["pool_keyhash"]));
}