TypedStateSnapshotParticipant<ImageType extends Object> constructor

TypedStateSnapshotParticipant<ImageType extends Object>({
  1. required String path,
  2. required String schemaKind,
  3. required int schemaVersion,
  4. required StateTransactionEndpoint<ImageType> endpoint,
  5. String configurationIdentity = '',
  6. List<String> dependencies = const [],
})

Creates a participant around a typed state endpoint.

Implementation

TypedStateSnapshotParticipant({
  required this.path,
  required this.schemaKind,
  required this.schemaVersion,
  required this.endpoint,
  this.configurationIdentity = '',
  List<String> dependencies = const [],
}) : dependencies = List.unmodifiable(dependencies);