getLineText method Null safety

String getLineText(
  1. int lineIndex
)

Implementation

String getLineText(int lineIndex) => getLineMetrics(lineIndex)._text;