DelegationInfo.fromJson constructor

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

Implementation

factory DelegationInfo.fromJson(Map<String, dynamic> json) => DelegationInfo(
      name: json['name'],
      status: json['status'],
      weight: json['weight'],
    );