PolicyRuleInput class

The caller-supplied fields for a policy rule. A rule builder supplies ruleType.

Constructors

PolicyRuleInput({String? ruleId, required String name, String? address, List<String>? addresses, required String chain, int? chainId, List<int>? chainIds, WaasPolicyRuleValueLimit? valueLimit, WaasPolicyRuleOperationRestrictions? operationRestrictions, List<PolicyApprovalRequirement>? approvalRequirements, bool? disableBlockaidSecurityChecks, bool? modifiableBySigner})
const

Properties

address → String?
final
addresses → List<String>?
final
approvalRequirements → List<PolicyApprovalRequirement>?
final
chain → String
final
chainId → int?
final
chainIds → List<int>?
final
disableBlockaidSecurityChecks → bool?
final
hashCode → int
The hash code for this object.
no setterinherited
modifiableBySigner → bool?
final
name → String
final
operationRestrictions → WaasPolicyRuleOperationRestrictions?
final
ruleId → String?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
valueLimit → WaasPolicyRuleValueLimit?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

fromJson(Map<String, dynamic> json) → PolicyRuleInput