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