bool supported

Checks if this type is supported on the current platform.

Source

static bool get supported => Device.isEventTypeSupported('MediaStreamEvent');