supported property

bool get supported

Checks to see if the mutation observer API is supported on the current platform.

Implementation

static bool get supported {
  return JS(
    'bool',
    '!!(window.MutationObserver || window.WebKitMutationObserver)',
  );
}