TautulliLibraryUserStats class

Model to store user stats for a library in Plex.

Annotations
  • @JsonSerializable(explicitToJson: true)

Constructors

TautulliLibraryUserStats({String? friendlyName, int? userId, String? userThumb, int? totalPlays})
TautulliLibraryUserStats.fromJson(Map<String, dynamic> json)
Deserialize a JSON map to a TautulliLibraryUserStats object.
factory

Properties

friendlyName String?
Friendly name of the user.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
totalPlays int?
Total amount of plays from this library section the user has streamed.
final
userId int?
User's Plex/Tautulli ID.
final
userThumb String?
User's thumbnail avatar.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Serialize a TautulliLibraryUserStats 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