ModuleNode class

A ModuleNode is a class that represents a module in the inspector.

Inheritance

Constructors

ModuleNode({required InjectionToken id, required String label, required ModuleMetadataNode metadata})
The constructor of the ModuleNode class.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
id InjectionToken
The id of this node. This is used to identify the node in the tree. This id is unique for each node in the tree. It is used to build the tree structure.
finalinherited
label String
The label of this node. This is used to display the node in the tree.
finalinherited
metadata ModuleMetadataNode
The metadata of the module. This is used to display the module in the tree.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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