instance property

ArChartsPlatform get instance

The default instance of ArChartsPlatform to use.

Defaults to MethodChannelArCharts.

Implementation

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

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

Implementation

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