CedarPolicySet class abstract
A collection of Cedar policies.
Constructors
-
CedarPolicySet({Map<
String, CedarPolicy> policies = const {}, Map<String, CedarPolicy> templates = const {}}) -
factory
- CedarPolicySet.build([void updates(CedarPolicySetBuilder)])
-
factory
-
CedarPolicySet.fromJson(Map<
String, Object?> json) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
policies
→ BuiltMap<
String, CedarPolicy> -
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
templates
→ BuiltMap<
String, CedarPolicy> -
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
rebuild(
dynamic updates(CedarPolicySetBuilder)) → CedarPolicySet -
Rebuilds the instance.
inherited
-
toBuilder(
) → CedarPolicySetBuilder -
Converts the instance to a builder
B
.inherited -
toJson(
) → Map< String, Object?> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
-
serializer
→ Serializer<
CedarPolicySet> -
no setter