isLineFeed property

bool get isLineFeed

True if the string has 1 character and it's a LF.

Implementation

bool get isLineFeed => codeUnitAt(0) == lineFeed;