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