getUserId static method
Get logged in user id if user is not logged in this method will Through AmityException
Implementation
static String getUserId() {
return getCurrentUser().userId!;
}
Get logged in user id if user is not logged in this method will Through AmityException
static String getUserId() {
return getCurrentUser().userId!;
}