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