join abstract method
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.
Implementation
Future<void> join({
required String teamId,
String? message,
String? password,
});