DynamicRule class

A dynamic group's membership rule: a member belongs when every condition holds and they have not opted out. The community evaluates it under its groups policy and recomputes membership whenever a fact it reads changes, always excluding opted-out entries.

Constructors

DynamicRule({required List<RuleCondition> all})
const
DynamicRule.fromJson(Map<String, dynamic> json)
Read this payload from a decoded JSON object.
factory

Properties

all → List<RuleCondition>
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
Serialize to a JSON-encodable map, omitting absent members.
toString() → String
A string representation of this object.
inherited

Operators

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