instance property

OpenFolderPlatform get instance

The default instance of OpenFolderPlatform to use.

Defaults to MethodChannelOpenFolder.

Implementation

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

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

Implementation

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