RealtimeStreamData class

Annotations
  • @freezed

Constructors

RealtimeStreamData({required RealtimeStream stream, required UserPresence sender, required String data, required bool reliable})
const
factory
RealtimeStreamData.fromDto(StreamData dto)
factory

Properties

copyWith → $RealtimeStreamDataCopyWith<RealtimeStreamData>
no setterinherited
data String
Arbitrary contents of the data message.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
reliable bool
True if this data was delivered reliably, false otherwise.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sender UserPresence
The sender, if any.
no setterinherited
stream RealtimeStream
The stream this data message relates to.
no setterinherited

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