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