watchedStatusToJson static method

num? watchedStatusToJson(
  1. TautulliWatchedStatus? watched
)

Converts a TautulliWatchedStatus object back to its double representation.

Implementation

static num? watchedStatusToJson(TautulliWatchedStatus? watched) => watched?.value;