instance property

ContactxPlatform get instance

The default instance of ContactxPlatform to use.

Defaults to MethodChannelContactx.

Implementation

static ContactxPlatform get instance => _instance;
set instance (ContactxPlatform instance)

Platform-specific implementations should set this with their own platform-specific class that extends ContactxPlatform when they register themselves.

Implementation

static set instance(ContactxPlatform instance) {
  PlatformInterface.verifyToken(instance, _token);
  _instance = instance;
}