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