Content constructor
Content({})
Constructor for the Content class.
The constructor initializes a Content object with optional named parameters:
url: The URL of the media content.type: The MIME type of the media content.fileSize: The file size of the media content in bytes.medium: The medium of the media content.isDefault: Indicates if the media content is the default one.expression: The expression of the media content.bitrate: The bitrate of the media content in bits per second.framerate: The framerate of the media content.samplingrate: The sampling rate of the media content.channels: The number of audio channels in the media content.duration: The duration of the media content in seconds.height: The height of the media content in pixels.width: The width of the media content in pixels.lang: The language of the media content.
All parameters are optional and can be set to null if not provided.
Implementation
Content({
this.url,
this.type,
this.fileSize,
this.medium,
this.isDefault,
this.expression,
this.bitrate,
this.framerate,
this.samplingrate,
this.channels,
this.duration,
this.height,
this.width,
this.lang,
});