Outline class

Outline

{ "element": Element "offset": int "length": int "codeOffset": int "codeLength": int "children": optional List

Clients may not extend, implement or mix-in this class.

Constructors

Outline(Element element, int offset, int length, int codeOffset, int codeLength, {List<Outline>? children})
Outline.fromJson(JsonDecoder jsonDecoder, String jsonPath, Object? json)
factory

Properties

children List<Outline>?
The children of the node. The field will be omitted if the node has no children. Children are sorted by offset.
getter/setter pair
codeLength int
The length of the element code.
getter/setter pair
codeOffset int
The offset of the first character of the element code, which is neither documentation, nor annotation.
getter/setter pair
element Element
A description of the element represented by this node.
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
length int
The length of the element.
getter/setter pair
offset int
The offset of the first character of the element. This is different than the offset in the Element, which is the offset of the name of the element. It can be used, for example, to map locations in the file back to an outline.
getter/setter pair
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, Object>
Returns a JSON presentation of the object.
toString() String
A string representation of this object.
override

Operators

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