isSupported property

bool isSupported

Getter for boolean to detect Ethereum object support. without calling itself to prevent js undefined error.

Implementation

static bool get isSupported =>
    hasProperty(_window, 'ethereum') || hasProperty(_window, 'BinanceChain');