DirectiveUndelegate constructor

DirectiveUndelegate({
  1. String? delegatorAddress,
  2. String? validatorAddress,
  3. List<int>? amount,
})

Implementation

factory DirectiveUndelegate({
  $core.String? delegatorAddress,
  $core.String? validatorAddress,
  $core.List<$core.int>? amount,
}) {
  final _result = create();
  if (delegatorAddress != null) {
    _result.delegatorAddress = delegatorAddress;
  }
  if (validatorAddress != null) {
    _result.validatorAddress = validatorAddress;
  }
  if (amount != null) {
    _result.amount = amount;
  }
  return _result;
}