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