AnalyticsServiceBase class abstract
Should be overriden with mixin attaching
Constructors
-
AnalyticsServiceBase.new({required Logger logger, required Map<
AttributionProvider, String?> providersIds, required List<AnalyticsProvider> analyticsProviders, required Preferences preferences, required BehaviorSubject<Map< conversionData, required bool skipEvents, String? appsflyerId})String, dynamic> >
Properties
-
conversionData
→ Map<
String, String?> ? -
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- idfa → String?
-
no setter
- logger → Logger
-
final
-
providersIds
→ Map<
AttributionProvider, String> -
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
fetchAdvertisingId(
) → Future< String?> -
fillUserData(
{String? userId}) → Future< void> - Call after user id fetch
-
init(
) → Future< void> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setConsent(
{required bool obtained, required bool gdprUser}) → Future< void> - Sets user property for current user
-
setTrackingStatus(
{required bool enabled}) → Future< void> - Sets advertiser tracking status
-
setUserProperty(
{required String name, required String? value}) → Future< void> - Sets user property for current user
-
toString(
) → String -
A string representation of this object.
inherited
-
trackEvent(
String name, [Map< String, Object> ? parameters]) → Future<void>
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited