OdooProvider<T extends IOdooModel, C extends IDatabaseOperation> class

Constructors

OdooProvider({required C adapter, required T model})

Properties

adapter → C
final
hashCode int
The hash code for this object.
no setterinherited
model → T
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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