Content constructor

Content(
  1. String type,
  2. Stream<List<int>> body
)

Creates a new Content object from a media type and a body.

Implementation

Content(this.type, this.body);