TypedStateSnapshotParticipant<ImageType extends Object> class
Adapts a typed state endpoint to the heterogeneous snapshot registry.
- Implemented types
- Implementers
Constructors
-
TypedStateSnapshotParticipant({required String path, required String schemaKind, required int schemaVersion, required StateTransactionEndpoint<
ImageType> endpoint, String configurationIdentity = '', List<String> dependencies = const []}) - Creates a participant around a typed state endpoint.
Properties
- capabilities → StateTransactionCapabilities
-
Capability advertised by the participant endpoint.
no setteroverride
- configurationIdentity → String
-
Stable identity for logical geometry and configuration.
final
-
dependencies
→ List<
String> -
Logical paths that must be processed before this participant.
final
-
endpoint
→ StateTransactionEndpoint<
ImageType> -
Typed transaction endpoint owned by this participant.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- path → String
-
Stable logical path of the participant.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- schemaKind → String
-
Stable image schema identifier.
final
- schemaVersion → int
-
Version of the participant image schema.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
restore(
{required int transactionId, required Object image, required bool quiescent}) → void -
Restores this participant from a validated image.
override
-
snapshot(
{required int transactionId, required bool quiescent}) → Object -
Captures this participant's image.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited