value property

String get value

Implementation

String get value {
  switch (this) {
    case SessionState.idle:
      return 'idle';
    case SessionState.initializing:
      return 'initializing';
    case SessionState.active:
      return 'active';
    case SessionState.ending:
      return 'ending';
    case SessionState.failed:
      return 'failed';
  }
}