Redelegation constructor
Redelegation({
- String? delegatorAddress,
- String? validatorSrcAddress,
- String? validatorDstAddress,
- Iterable<
RedelegationEntry> ? entries,
Implementation
factory Redelegation({
$core.String? delegatorAddress,
$core.String? validatorSrcAddress,
$core.String? validatorDstAddress,
$core.Iterable<RedelegationEntry>? entries,
}) {
final _result = create();
if (delegatorAddress != null) {
_result.delegatorAddress = delegatorAddress;
}
if (validatorSrcAddress != null) {
_result.validatorSrcAddress = validatorSrcAddress;
}
if (validatorDstAddress != null) {
_result.validatorDstAddress = validatorDstAddress;
}
if (entries != null) {
_result.entries.addAll(entries);
}
return _result;
}