IsolatedBoxBase<E> class
abstract
Isolated version of BoxBase
- Implementers
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
isEmpty
→ Future<
bool> -
Whether the box is empty
no setter
-
isNotEmpty
→ Future<
bool> -
Whether the box is not empty
no setter
- isOpen → bool
-
Whether the box is open
no setter
-
keys
→ Future<
List> -
The keys of the box
no setter
- lazy → bool
-
Whether the box is lazy
no setter
-
length
→ Future<
int> -
The length of the box
no setter
- name → String
-
The name of the box
no setter
-
path
→ Future<
String?> -
The path of the box
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
add(
E value) → Future< int> - Add a value to the box
-
addAll(
Iterable< E> values) → Future<List< int> > - Add all the given values to the box
-
clear(
) → Future< int> - Clear the box
-
close(
) → Future< void> - Close the box
-
compact(
) → Future< void> - Compact the box
-
containsKey(
dynamic key) → Future< bool> - Whether the box contains the given key
-
delete(
dynamic key) → Future< void> - Delete a value from the box
-
deleteAll(
Iterable keys) → Future< void> - Delete all the given values from the box
-
deleteAt(
int index) → Future< void> - Delete a value at the given index
-
deleteFromDisk(
) → Future< void> - Delete the box from the disk
-
flush(
) → Future< void> - Flush the box
-
get(
dynamic key, {E? defaultValue}) → Future< E?> - Get a value from the box
-
getAt(
int index) → Future< E?> - Get a value at the given index
-
keyAt(
int index) → Future - The key at the given index
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
put(
dynamic key, E value) → Future< void> - Put a value in the box
-
putAll(
Map< dynamic, E> entries) → Future<void> - Put all the given entries in the box
-
putAt(
int index, E value) → Future< void> - Put a value at the given index
-
toString(
) → String -
A string representation of this object.
inherited
-
watch(
{dynamic key}) → Stream< BoxEvent> - Watch the box for changes filtered by key
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited