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