getLineMetrics method Null safety

TextLineMetrics getLineMetrics(
  1. int lineIndex
)

Implementation

TextLineMetrics getLineMetrics(int lineIndex) {
  _refreshTextLineMetrics();
  return _textLineMetrics[lineIndex];
}