JsonDBBox<T> class
Constructors
-
JsonDBBox({required IndexedDB indexedDB, required JsonDBAdapter<
T> adapter}) -
const
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, {int? parentId}) → Future< T?> -
Add in
Box<T> -
deleteAll(
) → Future< bool> -
Delete All in
Box<T> -
deleteById(
int id, {bool willDeleteByParentRecord = false, bool willDeleteByChildRecord = false, bool willThrowExceptionByNotFoundId = true}) → Future< bool> -
Remove Record in
Box<T> -
getAll(
{int? parentId}) → Future< List< T> > -
Get All in
Box<T> -
getAllStream(
{int? parentId}) → Stream< T> -
Get All With Stream in
Box<T> -
getById(
int id) → Future< T?> -
Get By Id in
Box<T> -
getByParentId(
int parentId) → Future< T?> -
Get By Parent Id in
Box<T> -
getListByParentId(
int parentId) → Future< List< T> > -
Get List By Parent Id in
Box<T> -
getOne(
bool test(T value), {int? parentId}) → Future< T?> -
Get One in
Box<T> -
getOneStream(
bool test(T value), {int? parentId}) → Stream< T?> -
Get One With Stream in
Box<T> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
updateById(
int id, {required T value}) → Future< T?> -
Update By Id in
Box<T> -
updateOne(
bool test(T value), {required T value}) → Future< T?> -
Update One in
Box<T>
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited