instance property
AppleVisionFlutterPlatform
get
instance
The default instance of AppleVisionFlutterPlatform to use.
Defaults to MethodChannelAppleVisionFlutter.
Implementation
static AppleVisionFlutterPlatform get instance => _instance;
set
instance
(AppleVisionFlutterPlatform instance)
Platform-specific implementations should set this with their own platform-specific class that extends AppleVisionFlutterPlatform when they register themselves.
Implementation
static set instance(AppleVisionFlutterPlatform instance) {
PlatformInterface.verifyToken(instance, _token);
_instance = instance;
}