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