instance property

The default instance of CharsetDetectorPlatform to use.

Defaults to MethodChannelCharsetDetector.

Implementation

static CharsetDetectorPlatform get instance => _instance;
void instance=(CharsetDetectorPlatform 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;
}