instance property

CallLogPlatform get instance

The default instance of CallLogPlatform to use.

Defaults to MethodChannelCallLog.

Implementation

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

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

Implementation

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