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