toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ActivityStreamMode.sync:
      return 'sync';
    case ActivityStreamMode.async:
      return 'async';
  }
}