SourceChange constructor

SourceChange(
  1. String message, {
  2. List<SourceFileEdit>? edits,
  3. List<LinkedEditGroup>? linkedEditGroups,
  4. Position? selection,
  5. int? selectionLength,
  6. String? id,
})

Implementation

SourceChange(this.message,
    {List<SourceFileEdit>? edits,
    List<LinkedEditGroup>? linkedEditGroups,
    this.selection,
    this.selectionLength,
    this.id})
    : edits = edits ?? <SourceFileEdit>[],
      linkedEditGroups = linkedEditGroups ?? <LinkedEditGroup>[];