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