instance property

Rf88PluginPlatform get instance

The default instance of Rf88PluginPlatform to use.

Defaults to MethodChannelRf88Plugin.

Implementation

static Rf88PluginPlatform get instance => _instance;
set instance (Rf88PluginPlatform instance)

Platform-specific implementations should set this with their own platform-specific class that extends Rf88PluginPlatform when they register themselves.

Implementation

static set instance(Rf88PluginPlatform instance) {
  PlatformInterface.verifyToken(instance, _token);
  _instance = instance;
}