GenStats class

Statistics from a generation run

Constructors

GenStats({required int filesProcessed, required int filesIgnored, required int outputFilesCreated, required List<String> outputFiles, required int totalBytes, required Duration duration, required Map<String, int> ignoreReasons})
const
GenStats.empty()
Create empty stats
factory

Properties

duration Duration
Duration of the operation
final
filesIgnored int
Number of files ignored
final
filesProcessed int
Number of files successfully processed
final
formattedDuration String
Format duration as human readable string
no setter
formattedSize String
Format bytes as human readable string
no setter
hashCode int
The hash code for this object.
no setterinherited
ignoreReasons Map<String, int>
Breakdown of ignore reasons
final
outputFiles List<String>
List of output file paths
final
outputFilesCreated int
Number of output files created
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
totalBytes int
Total bytes written
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
printSummary() → void
Print a beautiful summary to the console
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited