AutoTrackConfig class
Constructors
-
AutoTrackConfig({String? host, int? uploadInterval, String? appKey = '', String? appSecret = '', Function? signature, bool enableUpload = false, String? trackId, String? userId, String? uniqueId, EventHandlerFunc? eventHandler, List<
AutoTrackPageConfig< pageConfigs = const [], bool useCustomRoute = false, List<Widget> >Key> ignoreElementKeys = const [], List<String> ignoreElementStringKeys = const [], bool enablePageView = true, bool enablePageLeave = false, bool enableClick = true, bool enableDrag = false, bool enableIgnoreNullKey = false})
Properties
- appKey ↔ String?
-
getter/setter pair
- appSecret ↔ String?
-
getter/setter pair
- enableClick ↔ bool
-
getter/setter pair
- enableDrag ↔ bool
-
getter/setter pair
- enableIgnoreNullKey ↔ bool
-
getter/setter pair
- enablePageLeave ↔ bool
-
getter/setter pair
- enablePageView ↔ bool
-
getter/setter pair
- enableUpload ↔ bool
-
getter/setter pair
- eventHandler ↔ EventHandlerFunc?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- host ↔ String?
-
getter/setter pair
-
ignoreElementKeys
↔ List<
Key> -
推荐使用
ElementKey
getter/setter pair -
ignoreElementStringKeys
↔ List<
String> -
getter/setter pair
-
pageConfigs
↔ List<
AutoTrackPageConfig< Widget> > -
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- signature ↔ Function?
-
getter/setter pair
- trackId ↔ String?
-
getter/setter pair
- uniqueId ↔ String?
-
getter/setter pair
- uploadInterval ↔ int?
-
getter/setter pair
- useCustomRoute ↔ bool
-
如果使用 MaterialPageRoute/PageRoute/ModalRoute 之外的 Route,
请打开该开关,并保证所有页面都配置在 pageConfigs 中
getter/setter pair
- userId ↔ String?
-
getter/setter pair
Methods
-
getIgnoreElementKeySet(
) → Set< Key> -
getIgnoreElementStringKeySet(
) → Set< String> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited