Source constructor

Source({
  1. String? uri,
  2. String? contentType,
})

Constructor for creating a Source object.

The constructor initializes a Source object with optional named parameters:

  • uri: The URI attribute value of the source.
  • contentType: The contentType attribute value of the source.

Implementation

Source({
  this.uri,
  this.contentType,
});