isMe method

bool isMe(
  1. String userId
)

Check if the given user ID is equal to the current user's user id

Implementation

bool isMe(String userId) {
  return _authService.userId == userId;
}