TypedBox<T> class

Constructors

TypedBox(String boxName, TypedConverter<T> _typedConverter, {bool open = false})

Properties

box → Box
no setter
hashCode int
The hash code for this object.
no setterinherited
isNotEmpty bool
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
values List<T>
no setter

Methods

add(T data) Future<int>
addAll(List<T> data) Future<void>
clear() Future<void>
close() Future<void>
deleteAt(int index) Future<void>
deleteWhere(bool test(T element)) Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
open() Future<void>
paginatedValues({int? startKey, int? endKey}) List<T>
toString() String
A string representation of this object.
inherited
updateWhere(bool test(T element), T newElement) Future<void>
where(bool test(T element)) List<T>

Operators

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

Static Methods

openBox<T>(String boxName, {required TypedConverter<T> converter}) Future<TypedBox<T>>