loginWithToken method
Login with token
Param userId : userId
Param token : user token
Implementation
@override
Future<void> loginWithToken({
required String userId,
required String token,
}) async {
try {
await super.loginWithToken(userId: userId, token: token);
ChatUIKitContext.instance.currentUserId = userId;
} catch (e) {
rethrow;
}
}