PexelPhotoModel constructor

PexelPhotoModel({
  1. int? id,
  2. int? width,
  3. int? height,
  4. String? url,
  5. String? photographer,
  6. String? photographerUrl,
  7. int? photographerId,
  8. String? avgColor,
  9. Src? src,
  10. bool? liked,
})

Implementation

PexelPhotoModel(
    {this.id,
    this.width,
    this.height,
    this.url,
    this.photographer,
    this.photographerUrl,
    this.photographerId,
    this.avgColor,
    this.src,
    this.liked});