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