Delegation constructor
Implementation
factory Delegation({
$core.String? delegatorAddress,
$core.String? validatorAddress,
$core.String? shares,
}) {
final _result = create();
if (delegatorAddress != null) {
_result.delegatorAddress = delegatorAddress;
}
if (validatorAddress != null) {
_result.validatorAddress = validatorAddress;
}
if (shares != null) {
_result.shares = shares;
}
return _result;
}