joinMatch method

Future<Match> joinMatch(
  1. String matchId, {
  2. String? token,
})

Implementation

Future<Match> joinMatch(
  String matchId, {
  String? token,
}) async {
  final res = await _send<rtpb.Match>(rtpb.Envelope(matchJoin: rtpb.MatchJoin(matchId: matchId, token: token)));

  return Match.fromRtpb(res);
}