supported property

bool get supported

Checks if this type is supported on the current platform.

Implementation

static bool get supported => JS(
  'bool',
  '!!(window.SpeechRecognition || window.webkitSpeechRecognition)',
);