instance property

ProtectAppPlatform get instance

Getter for the singleton instance.

Implementation

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

Setter for the singleton instance. This allows for overriding the default implementation with a custom one.

Implementation

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