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