instance property

The default instance of PaddleDetectionPlatform to use.

Defaults to MethodChannelPaddleDetection.

Implementation

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

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

Implementation

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