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