instance property

OpenFileCustomPlatform get instance

The default instance of OpenFileCustomPlatform to use.

Defaults to MethodChannelOpenFileCustom.

Implementation

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

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

Implementation

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