instance property
PsdkAccessPlatform
get
instance
The default instance of PsdkAccessPlatform to use.
Defaults to MethodChannelPsdkAccess.
Implementation
static PsdkAccessPlatform get instance => _instance;
set
instance
(PsdkAccessPlatform instance)
Platform-specific implementations should set this with their own platform-specific class that extends PsdkAccessPlatform when they register themselves.
Implementation
static set instance(PsdkAccessPlatform instance) {
PlatformInterface.verifyToken(instance, _token);
_instance = instance;
}