supportsOverrideMimeType property Null safety

bool supportsOverrideMimeType

Checks to see if the overrideMimeType method is supported on the current platform.

Implementation

static bool get supportsOverrideMimeType {
  var xhr = new HttpRequest();
  return JS('bool', '("overrideMimeType" in #)', xhr);
}