isNullChar static method

bool isNullChar(
  1. String token
)

returns true if input token is a null character (i.e. \x00)

Implementation

static bool isNullChar(String token) => regExpNullChar.hasMatch(token);