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