Exists constructor

Exists({
  1. Request? request,
  2. required String collection,
  3. Query? query,
  4. String? identifier,
  5. AccessToken? customToken,
})

Implementation

Exists(
    {Request? request,
    required String collection,
    Query? query,
    String? identifier,
    AccessToken? customToken})
    : assert(identifier != null || query != null),
      super(
          request: request?..token = customToken,
          access: Access(
              identifier: identifier,
              type: AccessType.exists,
              collection: collection,
              query: query));