NiceTreeShakingResult class

Result of a tree shaking analysis.

Constructors

NiceTreeShakingResult({required DateTime timestamp, required int totalComponents, required int usedComponents, required int unusedComponents, required int totalSizeBytes, required int usedSizeBytes, required int unusedSizeBytes, required List<NiceComponentInfo> allComponents, required List<NiceComponentInfo> unusedComponentsList, required List<String> recommendations})
const

Properties

allComponents List<NiceComponentInfo>
final
hashCode int
The hash code for this object.
no setterinherited
potentialSavingsPercent double
Potential size savings if unused components are removed.
no setter
recommendations List<String>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timestamp DateTime
final
totalComponents int
final
totalSizeBytes int
final
unusedComponents int
final
unusedComponentsList List<NiceComponentInfo>
final
unusedSizeBytes int
final
usagePercentage double
Percentage of components that are used.
no setter
usedComponents int
final
usedSizeBytes int
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toJsonString() String
toString() String
A string representation of this object.
inherited

Operators

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