toValue method
Implementation
String toValue() {
switch (this) {
case TargetLabel.blue:
return 'Blue';
case TargetLabel.green:
return 'Green';
}
}
String toValue() {
switch (this) {
case TargetLabel.blue:
return 'Blue';
case TargetLabel.green:
return 'Green';
}
}