SourceLine class
A class to represent a line of input code, with associated line number, file and element name.
Constructors
Properties
- element → String?
-
final
- endChar → int
-
final
- file → File?
-
final
- hasFile → bool
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- indent → int
-
final
- line → int
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- startChar → int
-
final
- text → String
-
final
Methods
-
copyWith(
{String? element, String? text, File? file, int? line, int? startChar, int? endChar, int? indent}) → SourceLine -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
-
toStringWithColumn(
int column) → String
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited