LogFileStats class
Data class that will be returned when analyzing the persisted log file on the client's machine.
Constructors
-
LogFileStats({required DateTime startDateTime, required int minsFromStartDateTime, required DateTime endDateTime, required int minsFromEndDateTime, required int sessionCount, required Map<
String, int> flutterChannelCount, required Map<String, int> toolCount, required int recordCount, required Map<String, int> eventCount}) -
Contains the data from the
LogHandler.logFileStats
method.const
Properties
- endDateTime → DateTime
-
The latest timestamp in the log file.
final
-
eventCount
→ Map<
String, int> -
The map containing all of the events in the file along with
how many times they have occured.
final
-
flutterChannelCount
→ Map<
String, int> -
The map containing all of the flutter channels and a count
of how many events were under each channel.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- minsFromEndDateTime → int
-
Number of minutes from endDateTime to now using
clock
.final - minsFromStartDateTime → int
-
Number of minutes from startDateTime to now using
clock
.final - recordCount → int
-
Total number of records in the log file.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sessionCount → int
-
The number of unique session ids found in the log file.
final
- startDateTime → DateTime
-
The oldest timestamp in the log file.
final
-
toolCount
→ Map<
String, int> -
The map containing all of the tools that have sent events
and how many events were sent by each tool.
final
Methods
-
getValueByString(
String label) → int? - Pass in a string label for one of the instance variables and return the integer value of that label.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited