DirectiveDelegate constructor
Implementation
factory DirectiveDelegate({
$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;
}