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 int flutterChannelCount, required int toolCount, required int recordCount, required Map<
String, int> eventCount}) -
Contains the data from the
LogHandler.logFileStats
methodconst
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 → int
-
The number of unique flutter channels found in the log file
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- minsFromEndDateTime → int
-
Number of minutes from endDateTime to
clock.now()
final - minsFromStartDateTime → int
-
Number of minutes from startDateTime to
clock.now()
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 → int
-
The number of unique tools found in the log file
final
Methods
-
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