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