instance property

AppShieldPlatform get instance

Gets the current instance of AppShieldPlatform.

Implementation

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

Sets a new instance of AppShieldPlatform, allowing platform-specific implementations to replace the default.

Implementation

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