PrettyTextBase constructor

PrettyTextBase({
  1. required String text,
  2. required SourceLocation start,
  3. required SourceLocation end,
})

Implementation

PrettyTextBase({
  required String text,
  required SourceLocation start,
  required SourceLocation end,
})  : _updatedText = text,
      _leadingSpaces = '',
      _lineEndings = '',
      _precededLineEndings = '',
      _trailingSpaces = '',
      super(start, end, text);