toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case TrainingMode.full:
      return 'FULL';
    case TrainingMode.update:
      return 'UPDATE';
  }
}