TextStreamInfo class
- Inheritance
-
- Object
- BaseStreamInfo
- TextStreamInfo
Constructors
-
TextStreamInfo({required String id, required String mimeType, required String topic, required int timestamp, required int size, Map<
String, String> attributes = const {}, String? replyToStreamId, List<String> attachedStreamIds = const [], int? version, bool generated = false, TextStreamOperationType? operationType, required String sendingParticipantIdentity, EncryptionType encryptionType = EncryptionType.kNone})
Properties
-
attachedStreamIds
→ List<
String> -
List of stream IDs that are attached to this stream
final
-
attributes
↔ Map<
String, String> -
getter/setter pairinherited
- encryptionType ↔ EncryptionType
-
getter/setter pairinherited
- generated → bool
-
Whether this text was generated by an agent
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id ↔ String
-
getter/setter pairinherited
- mimeType ↔ String
-
getter/setter pairinherited
- operationType → TextStreamOperationType?
-
Operation type for the stream
final
- replyToStreamId → String?
-
The stream ID this message is replying to, if any
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sendingParticipantIdentity ↔ String
-
getter/setter pairinherited
- size ↔ int
-
getter/setter pairinherited
- timestamp ↔ int
-
getter/setter pairinherited
- topic ↔ String
-
getter/setter pairinherited
- version → int?
-
Version 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.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited