StakeAuthorization constructor
StakeAuthorization({
- Coin? maxTokens,
- StakeAuthorization_Validators? allowList,
- StakeAuthorization_Validators? denyList,
- AuthorizationType? authorizationType,
Implementation
factory StakeAuthorization({
$6.Coin? maxTokens,
StakeAuthorization_Validators? allowList,
StakeAuthorization_Validators? denyList,
AuthorizationType? authorizationType,
}) {
final _result = create();
if (maxTokens != null) {
_result.maxTokens = maxTokens;
}
if (allowList != null) {
_result.allowList = allowList;
}
if (denyList != null) {
_result.denyList = denyList;
}
if (authorizationType != null) {
_result.authorizationType = authorizationType;
}
return _result;
}