Encoding constructor

const Encoding(
  1. String mimeType
)

Creates an Encoding with the given mimeType.

No schema is set explicitly. A schema embedded in mimeType after a ; separator is still surfaced on read -- see schema.

Implementation

const Encoding(this.mimeType) : _schema = null;