StreamMetadataResult class
Represents stream metadata as a series of properties for system data (e.g., MaxAge) and a StreamMetadata object for user metadata.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isOK → bool
-
Check if read result is OK
no setter
- isStreamNotFound → bool
-
Check if stream was not found
no setter
- metadata → StreamMetadata?
-
A StreamMetadata containing user-specified metadata.
final
- metadataStreamPosition → StreamPosition?
-
A StreamPosition of the version of the metadata.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- state → ReadState
-
The StreamState after the operation.
final
- streamDeleted → bool
-
True if the stream is deleted.
final
- streamId → String
-
The name of the stream.
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
Static Methods
-
convertToMetadata(
ResolvedEvent event) → StreamMetadata -
from(
String name, ResponseStream< ReadResp> resultStream) → Future<StreamMetadataResult> -
toRoles(
String field, Map< String, dynamic> acl) → List<String> ?