toParamStr method

String toParamStr()

Implementation

String toParamStr() {
  switch (this) {
    case WatchStatus.completed:
      return 'completed';
    case WatchStatus.dropped:
      return 'dropped';
    case WatchStatus.onHold:
      return 'on_hold';
    case WatchStatus.planToWatch:
      return 'plan_to_watch';
    case WatchStatus.watching:
      return 'watching';
  }
}