toJson method
Converts the DeviceInfo instance to a JSON object.
Implementation
Map<String, dynamic> toJson() => {
'deviceId': deviceId,
'deviceName': deviceName,
'deviceBrand': deviceBrand,
'osVersion': osVersion,
'manufacturer': manufacturer,
'model': model,
'appVersionName': appVersionName,
'appVersionCode': appVersionCode,
};