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