toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case OutpostMode.singleOutpost:
      return 'single-outpost';
    case OutpostMode.crossOutpost:
      return 'cross-outpost';
  }
}