TDBox<T> class
Constructors
-
TDBox({required IndexDB indexDB, required TDAdapter<
T> adapter, required StreamController<TDBoxStreamEvent> streamController})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
add(
T value) → Future< T?> - Add Single
-
addAll(
List< T> values) → Future<void> -
deleteAll(
List< int> idList) → Future<void> -
deleteById(
int id) → Future< bool> -
getAll(
) → Future< List< T> > -
getAllStream(
) → Stream< T> -
getOne(
bool test(T value)) → Future< T?> -
getOneStream(
bool test(T value)) → Stream< T?> -
getQuery(
bool test(T value)) → Future< List< T> > -
getQueryStream(
bool test(T value)) → Stream< List< T> > -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
notify(
TBEventType type, int id, int uniqueFieldId, {String? errorMessage}) → void -
toString(
) → String -
A string representation of this object.
inherited
-
updateById(
int id, T value) → Future< bool>
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited