defaultInstance property

Cryptography defaultInstance
final

Either FlutterCryptography or BrowserCryptography depending on FlutterCryptography.isPluginPresent.

Implementation

static final Cryptography defaultInstance = isPluginPresent
    ? FlutterCryptography()
    : BrowserCryptography.defaultInstance;