IsolatedLazyBox<E> class abstract

Isolated version of LazyBox

Inheritance

Constructors

IsolatedLazyBox()

Properties

hashCode → int
The hash code for this object.
no setterinherited
isEmpty → Future<bool>
Whether the box is empty
no setterinherited
isNotEmpty → Future<bool>
Whether the box is not empty
no setterinherited
isOpen → bool
Whether the box is open
no setterinherited
keys → Future<List>
The keys of the box
no setterinherited
lazy → bool
Whether the box is lazy
no setterinherited
length → Future<int>
The length of the box
no setterinherited
name → String
The name of the box
no setterinherited
path → Future<String?>
The path of the box
no setterinherited
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
inherited
addAll(Iterable<E> values) → Future<List<int>>
Add all the given values to the box
inherited
clear() → Future<int>
Clear the box
inherited
close() → Future<void>
Close the box
inherited
compact() → Future<void>
Compact the box
inherited
containsKey(dynamic key) → Future<bool>
Whether the box contains the given key
inherited
delete(dynamic key) → Future<void>
Delete a value from the box
inherited
deleteAll(Iterable keys) → Future<void>
Delete all the given values from the box
inherited
deleteAt(int index) → Future<void>
Delete a value at the given index
inherited
deleteFromDisk() → Future<void>
Delete the box from the disk
inherited
flush() → Future<void>
Flush the box
inherited
get(dynamic key, {E? defaultValue}) → Future<E?>
Get a value from the box
inherited
getAt(int index) → Future<E?>
Get a value at the given index
inherited
keyAt(int index) → Future
The key at the given index
inherited
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
inherited
putAll(Map<dynamic, E> entries) → Future<void>
Put all the given entries in the box
inherited
putAt(int index, E value) → Future<void>
Put a value at the given index
inherited
toString() → String
A string representation of this object.
inherited
watch({dynamic key}) → Stream<BoxEvent>
Watch the box for changes filtered by key
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited