ADAStakePoolRelayInfoResponse.fromJson constructor

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

Implementation

factory ADAStakePoolRelayInfoResponse.fromJson(Map<String, dynamic> json) {
  return ADAStakePoolRelayInfoResponse(
    ipv4: json['ipv4'],
    ipv6: json['ipv6'],
    dns: json['dns'],
    dnsSrv: json['dns_srv'],
    port: json['port'],
  );
}