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