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