RedelegationEntry constructor

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

Implementation

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