users static method

String users([
  1. String status = ''
])

Grants access to any authenticated or anonymous user.

You can optionally pass verified or unverified for status to target specific types of users.

Implementation

static String users([String status = '']) {
  if (status.isEmpty) {
    return 'users';
  }
  return 'users/$status';
}