instance property

ImagePickerKitPlatform get instance

The default instance of ImagePickerKitPlatform to use.

Defaults to MethodChannelImagePickerKit.

Implementation

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

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

Implementation

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