toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (appRestrictionsSchemaChangeEvent != null)
        'appRestrictionsSchemaChangeEvent': appRestrictionsSchemaChangeEvent!,
      if (appUpdateEvent != null) 'appUpdateEvent': appUpdateEvent!,
      if (deviceReportUpdateEvent != null)
        'deviceReportUpdateEvent': deviceReportUpdateEvent!,
      if (enterpriseId != null) 'enterpriseId': enterpriseId!,
      if (installFailureEvent != null)
        'installFailureEvent': installFailureEvent!,
      if (newDeviceEvent != null) 'newDeviceEvent': newDeviceEvent!,
      if (newPermissionsEvent != null)
        'newPermissionsEvent': newPermissionsEvent!,
      if (notificationType != null) 'notificationType': notificationType!,
      if (productApprovalEvent != null)
        'productApprovalEvent': productApprovalEvent!,
      if (productAvailabilityChangeEvent != null)
        'productAvailabilityChangeEvent': productAvailabilityChangeEvent!,
      if (timestampMillis != null) 'timestampMillis': timestampMillis!,
    };