supported property Null safety

bool supported

Checks if this type is supported on the current platform.

Implementation

static bool get supported =>
    JS('bool', '(typeof window.Worker != "undefined")');