instance property

HighchartjsPlatform get instance

The default instance of HighchartjsPlatform to use.

Defaults to MethodChannelHighchartjs.

Implementation

static HighchartjsPlatform get instance => _instance;
set instance (HighchartjsPlatform instance)

Platform-specific implementations should set this with their own platform-specific class that extends HighchartjsPlatform when they register themselves.

Implementation

static set instance(HighchartjsPlatform instance) {
  PlatformInterface.verifyToken(instance, _token);
  _instance = instance;
}