SizeAnalysisNode class

One node in a Flutter --analyze-size JSON tree; n/value/children match flutter_tools' own output verbatim, so no remapping is needed.

Constructors

SizeAnalysisNode({required String name, required int sizeBytes, List<SizeAnalysisNode> children = const []})
const
SizeAnalysisNode.fromJson(Map<String, dynamic> json)
factory

Properties

children List<SizeAnalysisNode>
final
hashCode int
The hash code for this object.
no setterinherited
name String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sizeBytes int
final
sortedChildren List<SizeAnalysisNode>
children sorted largest totalBytes first.
no setter
totalBytes int
Falls back to summing children when a node's own value is missing/zero.
no setter

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