instance property

ContactAddPlatform get instance

The default instance of ContactAddPlatform to use.

Defaults to MethodChannelContactAdd.

Implementation

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

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

Implementation

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