TextLine constructor

TextLine({
  1. num? lineNumber,
  2. String? text,
  3. Range? range,
  4. Range? rangeIncludingLineBreak,
  5. num? firstNonWhitespaceCharacterIndex,
  6. bool? isEmptyOrWhitespace,
})

Implementation

factory TextLine({
  _i2.num? lineNumber,
  _i2.String? text,
  _i3.Range? range,
  _i3.Range? rangeIncludingLineBreak,
  _i2.num? firstNonWhitespaceCharacterIndex,
  _i2.bool? isEmptyOrWhitespace,
}) =>
    TextLine._(
      lineNumber: lineNumber,
      text: text,
      range: range ?? _i6.undefined,
      rangeIncludingLineBreak: rangeIncludingLineBreak ?? _i6.undefined,
      firstNonWhitespaceCharacterIndex: firstNonWhitespaceCharacterIndex,
      isEmptyOrWhitespace: isEmptyOrWhitespace,
    );