fromJson static method
Restore OdooSession from JSON
Implementation
static OdooSession fromJson(Map<String, dynamic> json) {
return OdooSession(
id: json['id'] as String,
userId: json['userId'] as int,
partnerId: json['partnerId'] as int,
userLogin: json['userLogin'] as String,
userName: json['userName'] as String,
userLang: json['userLang'] as String,
userTz: json['userTz'] as String,
isSystem: json['isSystem'] as bool,
dbName: json['dbName'] as String,
serverVersion: json['serverVersion'].toString(),
);
}