instance property

The default instance of PianoAnalyticsPluginPlatform to use.

Defaults to MethodChannelPianoAnalyticsPlugin.

Implementation

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

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

Implementation

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