instance property
YoloPlatform
get
instance
The default instance of YoloPlatform to use.
Defaults to MethodChannelYolo.
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;
}