DelegationInfo constructor

DelegationInfo({
  1. required String name,
  2. required int status,
  3. required int weight,
})

Implementation

DelegationInfo(
    {required this.name, required this.status, required this.weight}) {
  weightWithDecimals = AmountUtils.addDecimals(weight, 8);
}