MatchData.fromDto constructor
MatchData.fromDto(
- MatchData dto
Implementation
factory MatchData.fromDto(rtpb.MatchData dto) => MatchData(
matchId: dto.matchId,
presence: UserPresence.fromDto(dto.presence),
opCode: dto.opCode.toInt(),
data: dto.data,
reliable: dto.reliable,
);