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