instance property

FlagSecurePlatform get instance

The default instance of FlagSecurePlatform to use.

Defaults to MethodChannelFlagSecure.

Implementation

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

Platform-specific implementations should set this with their own platform-specific class that extends FlagSecurePlatform when they register themselves.

Implementation

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