ClosingLabel class
A label that is associated with a range of code that may be useful to render at the end of the range to aid code readability. For example, a constructor call that spans multiple lines may result in a closing label to allow the constructor type/name to be rendered alongside the closing parenthesis.
Constructors
- ClosingLabel(int offset, int length, String label)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- label → String
-
The label associated with this range that should be displayed to the user.
final
- length → int
-
The length of the whole construct to be labelled.
final
- offset → int
-
The offset of the construct being labelled.
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
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
parse(
Map m) → ClosingLabel