Config class
Holds the configuration relating to the specifics of data gathering and processing.
All properties can be changed at any moment.
Constructors
-
Config({bool? enabled, double? uiElementSize, Set<
String> ? disabledRoutes, int? maxSessionIdleTime, int? minSessionEventCount, Set<OutputType> ? outputTypes, HeatMapStyle? heatMapStyle, double? heatMapTransparency, double? heatMapPixelRatio}) - Initializes the configuration.
-
Config.fromJson(Map<
String, dynamic> json) - Creates the configuration from a json map.
Properties
-
disabledRoutes
↔ Set<
String> -
Holds the route names on which event collection is disabled.
getter/setter pair
- enabled ↔ bool
-
Specifies whether the library is currently active and collecting data.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- heatMapPixelRatio ↔ double
-
Determines the heat map image resolution.
getter/setter pair
- heatMapStyle ↔ HeatMapStyle
-
Determines the style of the generated heat maps.
getter/setter pair
- heatMapTransparency ↔ double
-
Sets the transparency of the heat map overlay.
getter/setter pair
- maxSessionIdleTime ↔ int?
-
Sets the in-app idle time in seconds after
which all current sessions will be closed.
getter/setter pair
- minSessionEventCount ↔ int
-
Sets the minimum event count for a session to be closed.
getter/setter pair
-
outputTypes
↔ Set<
OutputType> -
Specifies what output data forms should be generated.
getter/setter pair
-
props
→ List<
Object?> -
The list of properties that will be used to determine whether
two instances are equal.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stringify → bool?
-
If set to
true
, the toString method will be overridden to output this instance's props.no setterinherited - uiElementSize ↔ double
-
Allows to adjust for the general UI size.
getter/setter pair
Methods
-
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