instance property

IosColorPickerPlatform get instance

The default instance of IosColorPickerV2Platform to use.

Defaults to MethodChannelIosColorPickerV2.

Implementation

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

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

Implementation

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