TraktUserAccount class

Account settings from /users/settings endpoint.

Constructors

TraktUserAccount({required String username, bool? private, bool? vip, bool? vipEp, String? email, String? name, String? gender, int? age, String? location, String? about, DateTime? joinedAt, TraktUserImages? images})
Creates a new TraktUserAccount instance.
const
TraktUserAccount.fromJson(Map<String, dynamic> json)
Creates a TraktUserAccount from a JSON map.
factory

Properties

about String?
About/bio text.
final
age int?
Age.
final
email String?
Email address.
final
gender String?
Gender.
final
hashCode int
The hash code for this object.
no setterinherited
images TraktUserImages?
Avatar images.
final
joinedAt DateTime?
When account was created.
final
location String?
Location.
final
name String?
Display name.
final
private bool?
Whether profile is private.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
username String
Username.
final
vip bool?
VIP status.
final
vipEp bool?
VIP EP status.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts to JSON.
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited