isDemoInstance property

bool get isDemoInstance

Whether the currently active credentials are the demo ones (regardless of whether they came from storage or compile-time).

Implementation

static bool get isDemoInstance =>
    hasDemoCredentials &&
    _url == _compileTimeUrl &&
    _anonKey == _compileTimeAnonKey;