QuerySlashingByOwnerRequest.fromJson constructor

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

Implementation

factory QuerySlashingByOwnerRequest.fromJson(Map<String, dynamic> json) {
  return QuerySlashingByOwnerRequest(
    walletAddress: json.valueAsString<String?>(
      'wallet_address',
      acceptCamelCase: true,
    ),
  );
}