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