toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (autoUpdatePolicy != null) 'autoUpdatePolicy': autoUpdatePolicy!,
      if (deviceReportPolicy != null)
        'deviceReportPolicy': deviceReportPolicy!,
      if (maintenanceWindow != null) 'maintenanceWindow': maintenanceWindow!,
      if (productAvailabilityPolicy != null)
        'productAvailabilityPolicy': productAvailabilityPolicy!,
      if (productPolicy != null) 'productPolicy': productPolicy!,
    };