ProfilePhoto class

Describes a user profile photo.

Inheritance
Available Extensions

Constructors

ProfilePhoto({required int64 id, required File small, required File big, Minithumbnail? minithumbnail, required bool has_animation, required bool is_personal, int? extra, int? clientId})
Describes a user profile photo

Properties

big File
A big (640x640) user profile photo. The file can be downloaded only before the photo is changed.
read / write
clientId int?
TDLib client instance identifier, for which the response was received.
read / writeoverride
extra int?
Request identifier. Must be non-zero.
read / writeoverride
has_animation bool
True, if the photo has animated variant.
read / write
hashCode int
The hash code for this object.
read-onlyinherited
id int64
Photo identifier; 0 for an empty photo. Can be used to find a photo in a list of user profile photos. ; string representation of int, use int.parse
read / write
is_personal bool
True, if the photo is visible only for the current user.
read / write
minithumbnail Minithumbnail?
User profile photo minithumbnail; may be null.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
small File
A small (160x160) user profile photo. The file can be downloaded only before the photo is changed.
read / write

Methods

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

Operators

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

Static Methods

fromMap(Map<String, dynamic>? _map) ProfilePhoto?
Construct from Map.
override

Constants

CONSTRUCTOR → const String
@type
"profilePhoto"