instance property

The default instance of LightWeightPickerPlatform to use.

Defaults to MethodChannelLightWeightPicker.

Implementation

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

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

Implementation

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