instance property
LoggingOnOslogPlatform
get
instance
The default instance of LoggingOnOslogPlatform to use.
Defaults to MethodChannelLoggingOnOslog.
Implementation
static LoggingOnOslogPlatform get instance => _instance;
set
instance
(LoggingOnOslogPlatform instance)
Platform-specific implementations should set this with their own platform-specific class that extends LoggingOnOslogPlatform when they register themselves.
Implementation
static set instance(LoggingOnOslogPlatform instance) {
PlatformInterface.verifyToken(instance, _token);
_instance = instance;
}