MatchData class

Annotations
  • @freezed

Constructors

MatchData({required String matchId, required UserPresence presence, required int opCode, required List<int> data, required bool reliable})
const
factory
MatchData.fromDto(MatchData dto)
factory

Properties

copyWith → $MatchDataCopyWith<MatchData>
no setterinherited
data List<int>
Data payload, if any.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
matchId String
The match unique ID.
no setterinherited
opCode int
Op code value.
no setterinherited
presence UserPresence
A reference to the user presence that sent this data, if any.
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

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