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