Match.fromRtpb constructor
Match.fromRtpb(
- Match dto
Implementation
factory Match.fromRtpb(rtpb.Match dto) => Match.realtime(
matchId: dto.matchId,
authoritative: dto.authoritative,
label: dto.label.value,
size: dto.size,
presences: dto.presences.map((e) => UserPresence.fromDto(e)).toList(growable: false),
);