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