GiphyAsset constructor

const GiphyAsset({
  1. int width = 0,
  2. int height = 0,
  3. String? url,
  4. String? format,
})

Creates a GiphyAsset with the given properties.

Defaults width and height to 0 if not provided.

Implementation

const GiphyAsset({
  this.width = 0,
  this.height = 0,
  this.url,
  this.format,
});