toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (allowedDeviceManagementLevels != null)
        'allowedDeviceManagementLevels': allowedDeviceManagementLevels!,
      if (allowedEncryptionStatuses != null)
        'allowedEncryptionStatuses': allowedEncryptionStatuses!,
      if (osConstraints != null) 'osConstraints': osConstraints!,
      if (requireAdminApproval != null)
        'requireAdminApproval': requireAdminApproval!,
      if (requireCorpOwned != null) 'requireCorpOwned': requireCorpOwned!,
      if (requireScreenlock != null) 'requireScreenlock': requireScreenlock!,
    };