joinChannel method
Implementation
Future<void> joinChannel(
ChatCallKitCallType type,
String token,
String channel,
int uid,
) async {
try {
await _engine.joinChannel(
token: token,
channelId: channel,
uid: uid,
options: const ChannelMediaOptions(),
);
} catch (e) {
handler.onError?.call(ErrorCodeType.errFailed,
"General error with no classified reason. Try calling the method again");
}
}