instance property

BuglyPluginPlatform get instance

The default instance of BuglyPluginPlatform to use.

Defaults to MethodChannelBuglyPlugin.

Implementation

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

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

Implementation

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