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