instance property

FabAnalyticsPlatform get instance

The default instance of FabAnalyticsPlatform to use.

Defaults to MethodChannelFabAnalytics.

Implementation

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

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

Implementation

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