isEmbedded static method

bool isEmbedded()

True when the page runs inside an iframe or a native WebView user-agent.

Implementation

static bool isEmbedded() => _isInIframe() || _isWebViewUserAgent();