toJson method
Implementation
Map<String, dynamic> toJson() {
return {
'requestId': requestId,
'newDevice': newDevice,
'deviceId': deviceId,
'vpn': vpn,
'proxy': proxy,
'emulator': emulator,
'remoteAppProviders': remoteAppProviders,
'mirroredScreen': mirroredScreen,
'cloned': cloned,
'geoSpoofed': geoSpoofed,
'rooted': rooted,
'riskScore': riskScore,
'ip': ip,
'ipLocationCity': ipLocationCity,
'ipLocationRegion': ipLocationRegion,
'ipLocationCountry': ipLocationCountry,
'ipLocationLatitude': ipLocationLatitude,
'ipLocationLongitude': ipLocationLongitude,
'ipRiskScore': ipRiskScore,
'hooking': hooking,
'factoryReset': factoryReset,
'appTampering': appTampering,
'gpsLocation': gpsLocation?.toJson(),
'sessionRiskScore': sessionRiskScore,
};
}