TreeEntry class
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- lang ↔ String?
-
Lang is the language the indexer parsed the file as ("go", "python", …), or empty when it recognised none — in which case Symbols is 0 because nothing was extracted, not because the file declares nothing.
getter/setter pair
- path ↔ String?
-
Path is the file, relative to the repo root. The list is ordered by it, so a reader can see module layout without sorting.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- symbols ↔ int?
-
Symbols is how many top-level declarations the file defines. A file with none is still listed: the file set is the authority here and the counts decorate it.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Methods
-
fromJson(
dynamic value) → TreeEntry? -
Returns a new TreeEntry instance and imports its values from
valueif it's a Map, null otherwise. -
listFromJson(
dynamic json, {bool growable = false}) → List< TreeEntry> -
mapFromJson(
dynamic json) → Map< String, TreeEntry> -
mapListFromJson(
dynamic json, {bool growable = false}) → Map< String, List< TreeEntry> >
Constants
-
requiredKeys
→ const Set<
String> - The list of required keys that must be present in a JSON.