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