GiphyGif constructor

GiphyGif({
  1. String? title,
  2. String? type,
  3. required String id,
  4. String? slug,
  5. String? url,
  6. String? bitlyGifUrl,
  7. String? bitlyUrl,
  8. String? embedUrl,
  9. String? username,
  10. String? source,
  11. String? rating,
  12. String? contentUrl,
  13. String? sourceTld,
  14. String? sourcePostUrl,
  15. int? isSticker,
  16. DateTime? importDatetime,
  17. DateTime? trendingDatetime,
  18. GiphyUser? user,
  19. GiphyImages? images,
})

Implementation

GiphyGif(
    {this.title,
    this.type,
    required this.id,
    this.slug,
    this.url,
    this.bitlyGifUrl,
    this.bitlyUrl,
    this.embedUrl,
    this.username,
    this.source,
    this.rating,
    this.contentUrl,
    this.sourceTld,
    this.sourcePostUrl,
    this.isSticker,
    this.importDatetime,
    this.trendingDatetime,
    GiphyUser? user,
    GiphyImages? images})
    : user = user ?? GiphyUser(),
      images = images ?? GiphyImages();