instance property

SyslogPlatform get instance

The default instance of SyslogPlatform to use.

Defaults to MethodChannelSyslog.

Implementation

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

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

Implementation

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