UnbondingDelegationEntry constructor

UnbondingDelegationEntry({
  1. Int64? creationHeight,
  2. Timestamp? completionTime,
  3. String? initialBalance,
  4. String? balance,
})

Implementation

factory UnbondingDelegationEntry({
  $fixnum.Int64? creationHeight,
  $3.Timestamp? completionTime,
  $core.String? initialBalance,
  $core.String? balance,
}) {
  final _result = create();
  if (creationHeight != null) {
    _result.creationHeight = creationHeight;
  }
  if (completionTime != null) {
    _result.completionTime = completionTime;
  }
  if (initialBalance != null) {
    _result.initialBalance = initialBalance;
  }
  if (balance != null) {
    _result.balance = balance;
  }
  return _result;
}