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