DeviceInfo.fromMap constructor
Implementation
factory DeviceInfo.fromMap(Map<String, dynamic> map) {
return DeviceInfo(
deviceName: map['deviceName'],
deviceVersion: map['deviceVersion'],
identifier: map['identifier'],
appType: map['appType'],
deviceType: map['deviceType'],
browser: map['browser'] == null ? "browser" : map["browser"],
browserVersion: map['browserVersion'] ?? "browserVersion",
ipAddress: map['ipAddress'] ?? "ipAddress",
);
}