toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (allowScreenLock != null) 'allowScreenLock': allowScreenLock!,
      if (browserVersion != null) 'browserVersion': browserVersion!,
      if (builtInDnsClientEnabled != null)
        'builtInDnsClientEnabled': builtInDnsClientEnabled!,
      if (chromeRemoteDesktopAppBlocked != null)
        'chromeRemoteDesktopAppBlocked': chromeRemoteDesktopAppBlocked!,
      if (crowdStrikeAgent != null) 'crowdStrikeAgent': crowdStrikeAgent!,
      if (deviceAffiliationIds != null)
        'deviceAffiliationIds': deviceAffiliationIds!,
      if (deviceEnrollmentDomain != null)
        'deviceEnrollmentDomain': deviceEnrollmentDomain!,
      if (deviceManufacturer != null)
        'deviceManufacturer': deviceManufacturer!,
      if (deviceModel != null) 'deviceModel': deviceModel!,
      if (diskEncryption != null) 'diskEncryption': diskEncryption!,
      if (displayName != null) 'displayName': displayName!,
      if (hostname != null) 'hostname': hostname!,
      if (imei != null) 'imei': imei!,
      if (macAddresses != null) 'macAddresses': macAddresses!,
      if (meid != null) 'meid': meid!,
      if (operatingSystem != null) 'operatingSystem': operatingSystem!,
      if (osFirewall != null) 'osFirewall': osFirewall!,
      if (osVersion != null) 'osVersion': osVersion!,
      if (passwordProtectionWarningTrigger != null)
        'passwordProtectionWarningTrigger': passwordProtectionWarningTrigger!,
      if (profileAffiliationIds != null)
        'profileAffiliationIds': profileAffiliationIds!,
      if (profileEnrollmentDomain != null)
        'profileEnrollmentDomain': profileEnrollmentDomain!,
      if (realtimeUrlCheckMode != null)
        'realtimeUrlCheckMode': realtimeUrlCheckMode!,
      if (safeBrowsingProtectionLevel != null)
        'safeBrowsingProtectionLevel': safeBrowsingProtectionLevel!,
      if (screenLockSecured != null) 'screenLockSecured': screenLockSecured!,
      if (secureBootMode != null) 'secureBootMode': secureBootMode!,
      if (serialNumber != null) 'serialNumber': serialNumber!,
      if (siteIsolationEnabled != null)
        'siteIsolationEnabled': siteIsolationEnabled!,
      if (systemDnsServers != null) 'systemDnsServers': systemDnsServers!,
      if (thirdPartyBlockingEnabled != null)
        'thirdPartyBlockingEnabled': thirdPartyBlockingEnabled!,
      if (trigger != null) 'trigger': trigger!,
      if (windowsMachineDomain != null)
        'windowsMachineDomain': windowsMachineDomain!,
      if (windowsUserDomain != null) 'windowsUserDomain': windowsUserDomain!,
    };