ZenithFamilyRegistry<T, Arg> class
Tracks the keys created for one ZenithFamily within a logical scope.
The registry intentionally owns keys only; node ownership remains with the ZenithContainer. This allows callers to batch-invalidate a family without coupling the family definition to any particular container lifecycle.
Constructors
-
ZenithFamilyRegistry(ZenithFamily<
T, Arg> family) -
Creates a registry for
family.
Properties
-
arguments
→ Iterable<
Arg> -
Arguments currently tracked by this registry.
no setter
-
family
→ ZenithFamily<
T, Arg> -
The family that creates keys for this registry.
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
-
forget(
Arg argument) → void -
Stops tracking
argument. Existing container state is unchanged. -
forgetAll(
) → void - Stops tracking all arguments. Existing container state is unchanged.
-
invalidateAll(
ZenithContainer container) → void -
Invalidates all nodes represented by tracked family keys in
container. -
key(
Arg argument) → ZenithKey< T> -
Returns the stable key associated with
argument. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited