exists static method

bool exists(
  1. String key
)

check if a key exists in reserved words map, return true if exists otherwise false for ex ReservedWords.exists('java') will return true

Implementation

static bool exists(String key) =>
    _reservedWords.containsKey(key) || userReservedWords.containsKey(key);