toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ActivityStreamStatus.stopped:
      return 'stopped';
    case ActivityStreamStatus.starting:
      return 'starting';
    case ActivityStreamStatus.started:
      return 'started';
    case ActivityStreamStatus.stopping:
      return 'stopping';
  }
}