PoolRegistration.fromJson constructor

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

Implementation

factory PoolRegistration.fromJson(Map<String, dynamic> json) {
  return PoolRegistration(PoolParams.fromJson(
      json["pool_params"] ?? json["pool_registration"]["pool_params"]));
}