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