Bucket class Core
Exposes the operations which are available to be performed against a bucket.
Namely the ability to access Collections as well as performing management operations against the bucket.
Properties
- defaultCollection → Collection
-
The Collection which can be used to perform operations against
the default collection in the defaultScope.
no setter
- defaultScope → Scope
-
The Scope which can be used to perform operations against
the default scope.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
The name of the bucket.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
collection(
String name) → Collection -
Returns a Collection which can be used to perform operations against
the collection with the given
name
in the defaultScope. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
ping(
[PingOptions? options]) → Future< PingResult> - Performs a ping operation against the bucket.
-
scope(
String name) → Scope -
Returns a Scope which can be used to perform operations against
the scope with the given
name
. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited