toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() {
final adbStatus = this.adbStatus;
final applications = this.applications;
final basebandVersion = this.basebandVersion;
final bootloaderVersion = this.bootloaderVersion;
final brand = this.brand;
final buildNumber = this.buildNumber;
final defaultLanguage = this.defaultLanguage;
final developerOptionsStatus = this.developerOptionsStatus;
final deviceCompromisedStatus = this.deviceCompromisedStatus;
final deviceId = this.deviceId;
final devicePasswordStatus = this.devicePasswordStatus;
final email = this.email;
final encryptionStatus = this.encryptionStatus;
final etag = this.etag;
final firstSync = this.firstSync;
final hardware = this.hardware;
final hardwareId = this.hardwareId;
final imei = this.imei;
final kernelVersion = this.kernelVersion;
final kind = this.kind;
final lastSync = this.lastSync;
final managedAccountIsOnOwnerProfile = this.managedAccountIsOnOwnerProfile;
final manufacturer = this.manufacturer;
final meid = this.meid;
final model = this.model;
final name = this.name;
final networkOperator = this.networkOperator;
final os = this.os;
final otherAccountsInfo = this.otherAccountsInfo;
final privilege = this.privilege;
final releaseVersion = this.releaseVersion;
final resourceId = this.resourceId;
final securityPatchLevel = this.securityPatchLevel;
final serialNumber = this.serialNumber;
final status = this.status;
final supportsWorkProfile = this.supportsWorkProfile;
final type = this.type;
final unknownSourcesStatus = this.unknownSourcesStatus;
final userAgent = this.userAgent;
final wifiMacAddress = this.wifiMacAddress;
return {
'adbStatus': ?adbStatus,
'applications': ?applications,
'basebandVersion': ?basebandVersion,
'bootloaderVersion': ?bootloaderVersion,
'brand': ?brand,
'buildNumber': ?buildNumber,
'defaultLanguage': ?defaultLanguage,
'developerOptionsStatus': ?developerOptionsStatus,
'deviceCompromisedStatus': ?deviceCompromisedStatus,
'deviceId': ?deviceId,
'devicePasswordStatus': ?devicePasswordStatus,
'email': ?email,
'encryptionStatus': ?encryptionStatus,
'etag': ?etag,
'firstSync': ?firstSync?.toUtc().toIso8601String(),
'hardware': ?hardware,
'hardwareId': ?hardwareId,
'imei': ?imei,
'kernelVersion': ?kernelVersion,
'kind': ?kind,
'lastSync': ?lastSync?.toUtc().toIso8601String(),
'managedAccountIsOnOwnerProfile': ?managedAccountIsOnOwnerProfile,
'manufacturer': ?manufacturer,
'meid': ?meid,
'model': ?model,
'name': ?name,
'networkOperator': ?networkOperator,
'os': ?os,
'otherAccountsInfo': ?otherAccountsInfo,
'privilege': ?privilege,
'releaseVersion': ?releaseVersion,
'resourceId': ?resourceId,
'securityPatchLevel': ?securityPatchLevel,
'serialNumber': ?serialNumber,
'status': ?status,
'supportsWorkProfile': ?supportsWorkProfile,
'type': ?type,
'unknownSourcesStatus': ?unknownSourcesStatus,
'userAgent': ?userAgent,
'wifiMacAddress': ?wifiMacAddress,
};
}