toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() {
final activeTimeRanges = this.activeTimeRanges;
final annotatedAssetId = this.annotatedAssetId;
final annotatedLocation = this.annotatedLocation;
final annotatedUser = this.annotatedUser;
final autoUpdateExpiration = this.autoUpdateExpiration;
final autoUpdateThrough = this.autoUpdateThrough;
final backlightInfo = this.backlightInfo;
final bluetoothAdapterInfo = this.bluetoothAdapterInfo;
final bootMode = this.bootMode;
final chromeOsType = this.chromeOsType;
final cpuInfo = this.cpuInfo;
final cpuStatusReports = this.cpuStatusReports;
final deprovisionReason = this.deprovisionReason;
final deviceFiles = this.deviceFiles;
final deviceId = this.deviceId;
final deviceLicenseType = this.deviceLicenseType;
final diskSpaceUsage = this.diskSpaceUsage;
final diskVolumeReports = this.diskVolumeReports;
final dockMacAddress = this.dockMacAddress;
final etag = this.etag;
final ethernetMacAddress = this.ethernetMacAddress;
final ethernetMacAddress0 = this.ethernetMacAddress0;
final extendedSupportEligible = this.extendedSupportEligible;
final extendedSupportEnabled = this.extendedSupportEnabled;
final extendedSupportStart = this.extendedSupportStart;
final fanInfo = this.fanInfo;
final firmwareVersion = this.firmwareVersion;
final firstEnrollmentTime = this.firstEnrollmentTime;
final kind = this.kind;
final lastDeprovisionTimestamp = this.lastDeprovisionTimestamp;
final lastEnrollmentTime = this.lastEnrollmentTime;
final lastKnownNetwork = this.lastKnownNetwork;
final lastSync = this.lastSync;
final macAddress = this.macAddress;
final manufactureDate = this.manufactureDate;
final meid = this.meid;
final model = this.model;
final notes = this.notes;
final orderNumber = this.orderNumber;
final orgUnitId = this.orgUnitId;
final orgUnitPath = this.orgUnitPath;
final osUpdateStatus = this.osUpdateStatus;
final osVersion = this.osVersion;
final osVersionCompliance = this.osVersionCompliance;
final platformVersion = this.platformVersion;
final recentUsers = this.recentUsers;
final screenshotFiles = this.screenshotFiles;
final serialNumber = this.serialNumber;
final status = this.status;
final supportEndDate = this.supportEndDate;
final systemRamFreeReports = this.systemRamFreeReports;
final systemRamTotal = this.systemRamTotal;
final tpmVersionInfo = this.tpmVersionInfo;
final willAutoRenew = this.willAutoRenew;
return {
'activeTimeRanges': ?activeTimeRanges,
'annotatedAssetId': ?annotatedAssetId,
'annotatedLocation': ?annotatedLocation,
'annotatedUser': ?annotatedUser,
'autoUpdateExpiration': ?autoUpdateExpiration,
'autoUpdateThrough': ?autoUpdateThrough,
'backlightInfo': ?backlightInfo,
'bluetoothAdapterInfo': ?bluetoothAdapterInfo,
'bootMode': ?bootMode,
'chromeOsType': ?chromeOsType,
'cpuInfo': ?cpuInfo,
'cpuStatusReports': ?cpuStatusReports,
'deprovisionReason': ?deprovisionReason,
'deviceFiles': ?deviceFiles,
'deviceId': ?deviceId,
'deviceLicenseType': ?deviceLicenseType,
'diskSpaceUsage': ?diskSpaceUsage,
'diskVolumeReports': ?diskVolumeReports,
'dockMacAddress': ?dockMacAddress,
'etag': ?etag,
'ethernetMacAddress': ?ethernetMacAddress,
'ethernetMacAddress0': ?ethernetMacAddress0,
'extendedSupportEligible': ?extendedSupportEligible,
'extendedSupportEnabled': ?extendedSupportEnabled,
'extendedSupportStart': ?extendedSupportStart,
'fanInfo': ?fanInfo,
'firmwareVersion': ?firmwareVersion,
'firstEnrollmentTime': ?firstEnrollmentTime,
'kind': ?kind,
'lastDeprovisionTimestamp': ?lastDeprovisionTimestamp,
'lastEnrollmentTime': ?lastEnrollmentTime?.toUtc().toIso8601String(),
'lastKnownNetwork': ?lastKnownNetwork,
'lastSync': ?lastSync?.toUtc().toIso8601String(),
'macAddress': ?macAddress,
'manufactureDate': ?manufactureDate,
'meid': ?meid,
'model': ?model,
'notes': ?notes,
'orderNumber': ?orderNumber,
'orgUnitId': ?orgUnitId,
'orgUnitPath': ?orgUnitPath,
'osUpdateStatus': ?osUpdateStatus,
'osVersion': ?osVersion,
'osVersionCompliance': ?osVersionCompliance,
'platformVersion': ?platformVersion,
'recentUsers': ?recentUsers,
'screenshotFiles': ?screenshotFiles,
'serialNumber': ?serialNumber,
'status': ?status,
'supportEndDate': ?supportEndDate?.toUtc().toIso8601String(),
'systemRamFreeReports': ?systemRamFreeReports,
'systemRamTotal': ?systemRamTotal,
'tpmVersionInfo': ?tpmVersionInfo,
'willAutoRenew': ?willAutoRenew,
};
}