Photo class

Annotations

Constructors

Photo(String id, String createdAt, String updatedAt, String promotedAt, int width, int height, String color, String description, String altDescription, int views, int downloads, int likes, bool likedByUser, Urls urls, Links links, List categories, User user, List currentUserCollections, Exif exif, Location location, Position position)
Photo.fromJson(Map<String, dynamic> json)
factory

Properties

altDescription String
final
categories List
final
color String
final
createdAt String
final
currentUserCollections List
final
description String
final
downloads int
final
exif Exif
final
hashCode int
The hash code for this object. [...]
read-only, inherited
height int
final
id String
final
likedByUser bool
final
likes int
final
final
location Location
final
position Position
final
promotedAt String
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
updatedAt String
final
urls → Urls
final
user → User
final
views int
final
width int
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object. [...]
override

Operators

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