instance property
GrowlyticsPlatform
get
instance
The default instance of GrowlyticsPlatform to use.
Defaults to MethodChannelGrowlytics.
Implementation
static GrowlyticsPlatform get instance => _instance;
set
instance
(GrowlyticsPlatform instance)
Platform-specific implementations should set this with their own platform-specific class that extends GrowlyticsPlatform when they register themselves.
Implementation
static set instance(GrowlyticsPlatform instance) {
PlatformInterface.verifyToken(instance, _token);
_instance = instance;
}