rowId method

String? rowId(
  1. String line
)

An index row's id at the start of line, or null.

Implementation

String? rowId(String line) =>
    RegExp('^\\| ((?:$_prefixPattern)-\\d+) \\|').firstMatch(line)?[1];