instance property

ExtractPlatform get instance

The default instance of ExtractPlatform to use.

Defaults to MethodChannelExtract.

Implementation

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

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

Implementation

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