FoldableBlock class

Constructors

FoldableBlock({required int firstLine, required int lastLine, required FoldableBlockType type})
const

Properties

first int
no setter
firstLine int
final
hashCode int
The hash code for this object.
no setterinherited
isComment bool
no setter
isImports bool
no setter
last int
The last included index, considered infinite if null.
no setter
lastLine int
final
lineCount int
no setter
props List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited
type FoldableBlockType
final

Methods

includes(FoldableBlock other) bool
isSameLines(FoldableBlock other) bool
join(FoldableBlock other) FoldableBlock
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
offset(int line) FoldableBlock
overlaps(InclusiveRange other) bool
inherited
toString() String
A string representation of this object.
inherited

Operators

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