instance property

PrintLogPlatform get instance

The default instance of PrintLogPlatform to use.

Defaults to MethodChannelPrintLog.

Implementation

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

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

Implementation

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