TautulliUserPlayerStats class
Model to store total watch time stats for a user's players in Plex.
- Annotations
-
- @JsonSerializable(explicitToJson: true)
Constructors
- TautulliUserPlayerStats({int? resultId, int? totalPlays, String? platform, String? platformName, String? playerName})
-
TautulliUserPlayerStats.fromJson(Map<
String, dynamic> json) -
Deserialize a JSON map to a TautulliUserPlayerStats object.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- platform → String?
-
The platform of the player.
final
- platformName → String?
-
The name of the platform.
final
- playerName → String?
-
The name of the player.
final
- resultId → int?
-
The result (player) ID.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- totalPlays → int?
-
The total amount of plays from this user's player in this period.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Serialize a TautulliUserPlayerStats object to a JSON map.
-
toString(
) → String -
Returns a JSON-encoded string version of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited