instance property

The default instance of DocumentoscopyFlutterSdkPlatform to use.

Defaults to MethodChannelDocumentoscopyFlutterSdk.

Implementation

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

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

Implementation

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