instance property
DashShieldPlatform
get
instance
Gets the current instance of DashShieldPlatform.
Implementation
static DashShieldPlatform get instance => _instance;
set
instance
(DashShieldPlatform instance)
Sets a new instance of DashShieldPlatform, allowing platform-specific implementations to replace the default.
Implementation
static set instance(DashShieldPlatform instance) {
PlatformInterface.verifyToken(instance, _token);
_instance = instance;
}