instance property

VuiPluginPlatform get instance

The default instance of VuiPluginPlatform to use.

Defaults to MethodChannelVuiPlugin.

Implementation

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

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

Implementation

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