instance property

DArgon2Platform get instance

The default instance of DArgon2Platform to use.

Implementation

static DArgon2Platform get instance => _instance;
set instance (DArgon2Platform instance)

The setter to change the instance of DArgon2Platform which will be returned by the instance getter and argon2 global instance.

Implementation

static set instance(DArgon2Platform instance) {
  PlatformInterface.verifyToken(instance, _token);
  _instance = instance;
}