DirectiveUndelegate constructor
DirectiveUndelegate(
{ - String? delegatorAddress,
- String? validatorAddress,
- 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;
}