AnalyticsService class
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
-
-
navObserver([String root = "/"])
→ NavigatorObserver
-
-
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
Static Properties
-
log
→ Logger
-
final