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