instance property
ImagePickerPlatform
instance
The default instance of ImagePickerPlatform to use.
Defaults to MethodChannelImagePicker
.
Implementation
static ImagePickerPlatform get instance => _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;
}