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