fromString static method
Creates a new workout alert metric from a string
Implementation
static WorkoutAlertMetric fromString(String metric) {
return WorkoutAlertMetric.values.firstWhere((e) => e.symbol == metric);
}
Creates a new workout alert metric from a string
static WorkoutAlertMetric fromString(String metric) {
return WorkoutAlertMetric.values.firstWhere((e) => e.symbol == metric);
}