instance property

YOLOPlatform get instance

The default instance of YOLOPlatform to use.

Defaults to YOLOMethodChannel.

Implementation

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

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

Implementation

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