join abstract method

Future<void> join({
  1. required String teamId,
  2. String? message,
  3. String? password,
})

Join a team based on the given teamId. An optional message can be provided to send a message if the team requires one.

Another optional password can be provided if the team requires one.

If the team requires a password but the password field is incorrect, then the call fails. Similarly, if the team join policy requires a confirmation but the message parameter is not given, the call fails.

https://lichess.org/api#tag/Teams/operation/teamIdJoin

Implementation

Future<void> join({
  required String teamId,
  String? message,
  String? password,
});