instance property

ClipboardEvents? get instance

Returns clipboard events instance if available on current platform. This is only supported on web, on other platforms use SystemClipboard.instance to access the clipboard.

Implementation

static ClipboardEvents? get instance =>
    raw.ClipboardEvents.instance.supported ? _instance : null;