OdooRpcCall class

OdooRpcCall represents RPC call to Odoo database It is used to store calls to persistent storage for later execution.

Constructors

OdooRpcCall(int userId, String baseURL, String dbName, String modelName, int recordId, String method, dynamic args, Map kwargs, [DateTime? callDate])

Properties

args → dynamic
final
baseURL String
final
cacheKey String
Cache key to store call
no setter
callDate DateTime
final
dbName String
final
hashCode int
The hash code for this object.
no setterinherited
kwargs Map
final
method String
final
modelName String
final
props List<Object>
The list of properties that will be used to determine whether two instances are equal.
no setter
recordId int
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
serverUuid String
Unique identifier of remote Odoo instance
no setter
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited
userId int
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, Object>
Used to store a call to persistant call queue.
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

fromJson(Map<String, dynamic> jsonMap) OdooRpcCall
Used to restore a call from persistant call queue.