TautulliUserName class
Model to store a user's name & ID.
- Annotations
-
- @JsonSerializable(explicitToJson: true)
Constructors
- TautulliUserName({int? userId, String? friendlyName})
-
TautulliUserName.fromJson(Map<
String, dynamic> json) -
Deserialize a JSON map to a TautulliUserName object.
factory
Properties
- friendlyName → String?
-
The user's friendly name.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- userId → int?
-
The user's ID.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Serialize a TautulliUserName 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