fromJson static method

OdooId fromJson(
  1. Map<String, dynamic> json
)

Creates OdooId from JSON

Implementation

static OdooId fromJson(Map<String, dynamic> json) {
  return OdooId(json['odooModel'] as String, json['odooId'] as int);
}