instance property

The default instance of ImagePickerPlatform to use.

Defaults to MethodChannelImagePicker.

Implementation

static ImagePickerPlatform get instance => _instance;
void instance=(ImagePickerPlatform instance)

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

Implementation

static set instance(ImagePickerPlatform instance) {
  PlatformInterface.verify(instance, _token);
  _instance = instance;
}