MimeType constructor Null safety

const MimeType(
  1. String primaryType,
  2. String subType
)

Implementation

const MimeType(this.primaryType, this.subType)
    : mimeType = '$primaryType/$subType';