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