LinkedEditGroup class

LinkedEditGroup

{ "positions": List

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

Constructors

LinkedEditGroup(List<Position> positions, int length, List<LinkedEditSuggestion> suggestions)
LinkedEditGroup.empty()
Construct an empty LinkedEditGroup.
LinkedEditGroup.fromJson(JsonDecoder jsonDecoder, String jsonPath, Object? json)
factory

Properties

hashCode int
The hash code for this object.
no setteroverride
length int
The length of the regions that should be edited simultaneously.
getter/setter pair
positions List<Position>
The positions of the regions (after applying the relevant edits) that should be edited simultaneously.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
suggestions List<LinkedEditSuggestion>
Pre-computed suggestions for what every region might want to be changed to.
getter/setter pair

Methods

addPosition(Position position, int length) → void
Add a new position and change the length.
addSuggestion(LinkedEditSuggestion suggestion) → void
Add a new suggestion.
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