PowerThresholdAlert constructor

PowerThresholdAlert({
  1. required double threshold,
  2. required WorkoutAlertMetric metric,
})

Creates a new power threshold alert

Implementation

PowerThresholdAlert({
  required this.threshold,
  required this.metric,
}) : super(type: WorkoutAlertType.powerThreshold);