OdooProvider<T extends IOdooModel, C extends IDatabaseOperation> class
Constructors
- OdooProvider({required C adapter, required T model})
Properties
Methods
-
delete(
int id) → Future< bool> -
insert(
T instanceOfModel) → Future< int> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
query(
{List where = const [], String orderBy = "", int offset = 0, bool count = false, int limit = 50}) → Future< List< T> > -
read(
int id) → Future< T?> -
toString(
) → String -
A string representation of this object.
inherited
-
update(
T instanceOfModel) → Future< bool>
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited