DiscoveryContent constructor

DiscoveryContent(
  1. String type,
  2. Stream<List<int>> body,
  3. Uri sourceUri
)

Creates a new Content object from a media type, a body, and an optional sourceUri.

Implementation

DiscoveryContent(
  super.type,
  super.body,
  this.sourceUri,
);