isNewLine method

bool isNewLine()

Implementation

bool isNewLine() => '\n' == substring(length - 1);