bool supported

Checks if this type is supported on the current platform.

Source

static bool get supported => JS('bool', '!!(window.MediaSource)');