isSingleLineComment static method

bool isSingleLineComment(
  1. String token
)

returns true if input is a single line comment

Implementation

static bool isSingleLineComment(String token) =>
    regExpSingleLineComment.stringMatch(token) == token;