Thumbnail constructor

Thumbnail({
  1. String? url,
  2. String? width,
  3. String? height,
  4. String? time,
})

Constructor for creating a Thumbnail object.

The constructor initializes a Thumbnail object with optional named parameters:

  • url: The URL attribute value of the thumbnail.
  • width: The width attribute value of the thumbnail.
  • height: The height attribute value of the thumbnail.
  • time: The time attribute value of the thumbnail.

Implementation

Thumbnail({
  this.url,
  this.width,
  this.height,
  this.time,
});