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