instance property
ImagePickerBundlePlatform
get
instance
The default instance of ImagePickerBundlePlatform to use.
Defaults to MethodChannelImagePickerBundle.
Implementation
static ImagePickerBundlePlatform get instance => _instance;
set
instance
(ImagePickerBundlePlatform instance)
Platform-specific implementations should set this with their own platform-specific class that extends ImagePickerBundlePlatform when they register themselves.
Implementation
static set instance(ImagePickerBundlePlatform instance) {
PlatformInterface.verifyToken(instance, _token);
_instance = instance;
}