OdooId class

Represents Odoo database id. It might be fake if record was created in offline mode.

Constructors

OdooId(String odooModel, int odooId)

Properties

hashCode int
The hash code for this object.
no setterinherited
odooId int
final
odooModel String
final
props List<Object>
Equatable
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited

Methods

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

Operators

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

Static Methods

fromJson(Map<String, dynamic> json) OdooId
Creates OdooId from JSON