HBin constructor

HBin(
  1. String mime
)

Construct for MIME type

Implementation

HBin(this.mime) {
  if (mime.isEmpty || !mime.contains('/')) {
    throw FormatException('Invalid mime val: \"$mime\"', mime);
  }

  _verifyMime(mime);
}