instance property

The default instance of SimpleFilepickerWindowsPlatform to use.

Defaults to MethodChannelSimpleFilepickerWindows.

Implementation

static SimpleFilepickerWindowsPlatform get instance => _instance;
set instance (SimpleFilepickerWindowsPlatform instance)

Platform-specific implementations should set this with their own platform-specific class that extends SimpleFilepickerWindowsPlatform when they register themselves.

Implementation

static set instance(SimpleFilepickerWindowsPlatform instance) {
  PlatformInterface.verifyToken(instance, _token);
  _instance = instance;
}