PexelPhotoModel class

Constructors

PexelPhotoModel({int? id, int? width, int? height, String? url, String? photographer, String? photographerUrl, int? photographerId, String? avgColor, Src? src, bool? liked})
PexelPhotoModel.fromJson(Map<String, dynamic> json)

Properties

avgColor String?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
height int?
getter/setter pair
id int?
getter/setter pair
liked bool?
getter/setter pair
photographer String?
getter/setter pair
photographerId int?
getter/setter pair
photographerUrl String?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
src Src?
getter/setter pair
url String?
getter/setter pair
width int?
getter/setter pair

Methods

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

Operators

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