instance property

SimplePickerPlatform get instance

The default instance of PluginExamplePlatform to use.

Defaults to MethodChannelSimplePickerPlatform.

Implementation

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

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

Implementation

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