Withdrawal.fromJson constructor

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

Implementation

factory Withdrawal.fromJson(Map<String, dynamic> json) {
  return Withdrawal(
    address: json['address'],
    amount: json['amount'],
    index: json['index'],
    validatorIndex: json['validatorIndex'],
  );
}