mediaType property Null safety

MediaType mediaType

Retrieves a new media type based on this subtype

Implementation

MediaType get mediaType => MediaType.fromSubtype(this);