isLineBreak static method

bool isLineBreak(
  1. int codeUnit
)

Implementation

static bool isLineBreak(int codeUnit) =>
    (codeUnit == '\n'.codeUnitAt(0)) || (codeUnit == '\r'.codeUnitAt(0));