toValue method

String toValue()

Implementation

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