AnalyticsService class

Properties

anonymousId String?
getter/setter pair
appVersion ↔ Version?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
providers List<AnalyticsProvider>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addUserInfo({String? name, String? email, String? phone}) Future
encounteredError(Object error, [StackTrace? stackTrace, dynamic context]) → void
identify({required String userId, String? username}) → void
initialize(DeviceInfo deviceInfo, AppInfo appInfo, UserPreferencesService prefs, {List<AnalyticsProvider>? provide}) Future
logAccountCreated({required String userId, required String username}) → void
logBeginCheckout({List products = const []}) → void
logEvent(dynamic name, [Map<String, dynamic>? parameters]) → void
override
logLogin({String? userId, String? username}) → void
logLogout() → void
logPageView(String? pageName(), {String? route, String? resolvedPath, Map<String, dynamic>? params}) Future
logPresentOffer({String? itemId, String? itemName, String? itemCategory, double? price, int? quantity}) → void
logShare({String? shareContentType, String? shareContentId, String? shareMethod, String? shareTarget}) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setUserProperty(String? property, String? value) → void
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

log → Logger
final