UserProfilePhotos class

This object represent a user's profile pictures.

Constructors

UserProfilePhotos({required int totalCount, required List<List<PhotoSize>> photos})
Basic constructor

Properties

hashCode int
The hash code for this object.
no setterinherited
photos List<List<PhotoSize>>
Requested profile pictures (in up to 4 sizes each)
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
totalCount int
Total number of profile pictures the target user has
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map
Creates a json from the object
toString() String
A string representation of this object.
override

Operators

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

Static Methods

fromJson(Map<String, dynamic> json) UserProfilePhotos
Creates a object from a json