ChunkedStateSnapshotParticipant<DataType extends Object> constructor
- required String path,
- required String schemaKind,
- required int schemaVersion,
- required StateTransactionChunkEndpoint<
AddressedMemoryImageChunk< endpoint,DataType> > - required int maxEntriesPerChunk,
- String configurationIdentity = '',
Creates a chunked addressed-image participant.
Implementation
ChunkedStateSnapshotParticipant({
required this.path,
required this.schemaKind,
required this.schemaVersion,
required this.endpoint,
required this.maxEntriesPerChunk,
this.configurationIdentity = '',
}) {
if (maxEntriesPerChunk <= 0) {
throw ArgumentError.value(
maxEntriesPerChunk,
'maxEntriesPerChunk',
'Must be positive.',
);
}
}