UserProfilePhotos class abstract

This object represent a user's profile pictures.

Annotations
  • @freezed

Constructors

UserProfilePhotos.new({@JsonKey(name: 'total_count') required int totalCount, @JsonKey(name: 'photos') required List<List<PhotoSize>> photos})
Constructs a UserProfilePhotos object
const
factory
UserProfilePhotos.fromJson(Map<String, dynamic> json)
Creates a UserProfilePhotos object from JSON object
factory

Properties

copyWith → $UserProfilePhotosCopyWith<UserProfilePhotos>
Create a copy of UserProfilePhotos with the given fields replaced by the non-null parameter values.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
photos List<List<PhotoSize>>
Requested profile pictures (in up to 4 sizes each)
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
totalCount int
Total number of profile pictures the target user has
no setterinherited

Methods

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

Operators

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