FormatResult class

Constructors

FormatResult(List<SourceEdit> edits, int selectionOffset, int selectionLength)

Properties

edits List<SourceEdit>
The edit(s) to be applied in order to format the code. The list will be empty if the code was already formatted (there are no changes).
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selectionLength int
The length of the selection after formatting the code.
final
selectionOffset int
The offset of the selection after formatting the code.
final

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) FormatResult