ADAPoolRetirementResponse.fromJson constructor

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

Implementation

factory ADAPoolRetirementResponse.fromJson(Map<String, dynamic> json) {
  return ADAPoolRetirementResponse(
    poolId: json['pool_id'],
    epoch: json['epoch'],
  );
}