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