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