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