Shard class

A uniquely identified group of stream records within a stream.

Constructors

Shard({String? parentShardId, SequenceNumberRange? sequenceNumberRange, String? shardId})
Shard.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
parentShardId String?
The shard ID of the current shard's parent.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sequenceNumberRange SequenceNumberRange?
The range of possible sequence numbers for the shard.
final
shardId String?
The system-generated identifier for this shard.
final

Methods

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