instance property

NewcontactPlatform get instance

The default instance of NewcontactPlatform to use.

Defaults to MethodChannelNewcontact.

Implementation

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

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

Implementation

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