Photo class
Photo.
ID: fb197a65
.
- Inheritance
-
- Object
- TlObject
- TlConstructor
- PhotoBase
- Photo
Constructors
-
Photo({required bool hasStickers, required int id, required int accessHash, required Uint8List fileReference, required DateTime date, required List<
PhotoSizeBase> sizes, List<VideoSizeBase> ? videoSizes, required int dcId}) -
Photo constructor.
const
- Photo.deserialize(BinaryReader reader)
-
Deserialize.
factory
Properties
- accessHash → int
-
Access Hash.
final
- date → DateTime
-
Date.
final
- dcId → int
-
Dc Id.
final
- fileReference → Uint8List
-
File Reference.
final
- flags → int
-
Flags.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasStickers → bool
-
has_stickers: bit 0 of flags.0?true
final
- id → int
-
Id.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
sizes
→ List<
PhotoSizeBase> -
Sizes.
final
-
videoSizes
→ List<
VideoSizeBase> ? -
Video Sizes.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
serialize(
List< int> buffer) → void -
Serialize.
override
-
toJson(
) → Map< String, dynamic> -
Converts an object to JSON.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited