toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case StreamView.app:
      return 'APP';
    case StreamView.desktop:
      return 'DESKTOP';
  }
}