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