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