MaintenanceConfig constructor

MaintenanceConfig({
  1. ResourceName? sensorName,
  2. String? maintenanceAllowedKey,
})

Implementation

factory MaintenanceConfig({
  $14.ResourceName? sensorName,
  $core.String? maintenanceAllowedKey,
}) {
  final $result = create();
  if (sensorName != null) {
    $result.sensorName = sensorName;
  }
  if (maintenanceAllowedKey != null) {
    $result.maintenanceAllowedKey = maintenanceAllowedKey;
  }
  return $result;
}