PowerZoneAlert constructor

PowerZoneAlert({
  1. required int zone,
  2. required WorkoutAlertMetric metric,
})

Creates a new power zone alert

Implementation

PowerZoneAlert({
  required this.zone,
  required this.metric,
}) : super(type: WorkoutAlertType.powerZone);