User class
Json representation of a user
- Implemented types
- Annotations
-
- @JsonSerializable()
Constructors
- User()
-
User.fromJson(Map<
String, dynamic> json) -
factory
Properties
- birthdate ↔ String?
-
The user's date-of-birth.
getter/setter pair
- country ↔ Market?
-
The country of the user, as set in the user's account profile. An
ISO 3166-1 alpha-2 country code. This field is only available when the
current user has granted access to the user-read-private scope.
getter/setter pair
- displayName ↔ String?
-
The name displayed on the user's profile. null if not available.
getter/setter pairoverride
- email ↔ String?
-
The user's email address, as entered by the user when creating their
account.
getter/setter pair
- followers ↔ Followers?
-
Information about the followers of this user.
getter/setter pairoverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- href ↔ String?
-
A link to the Web API endpoint for this user.
getter/setter pairoverride
- id ↔ String?
-
The Spotify user ID for this user.
getter/setter pairoverride
-
images
↔ List<
Image> ? -
The user's profile image.
getter/setter pairoverride
- product ↔ String?
-
The user's Spotify subscription level: "premium", "free", etc. (The
subscription level "open" can be considered the same as "free".)
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type ↔ String?
-
The object type: "user"
getter/setter pairoverride
- uri ↔ String?
-
The Spotify URI for this user.
getter/setter pairoverride
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited