isHtmlMimeType property
bool
isHtmlMimeType
Implementation
bool get isHtmlMimeType =>
// Assume the server is just poorly implemented.
hasNoMimeType ||
// But if it isn't, then only html destinations are valid.
contentType?.mimeType == ContentType.html.mimeType;