evaluateProfileForUser method

bool evaluateProfileForUser(
  1. UserProfileQuery profile,
  2. String userId
)

Implementation

bool evaluateProfileForUser(UserProfileQuery profile, String userId) {
  final user = _users[userId];
  if (user == null) return false;
  return profile.matches(user);
}