instance property

The default instance of MacosFilePickerPlatform to use.

Defaults to MethodChannelMacosFilePicker.

Implementation

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

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

Implementation

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