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