isReserved function

bool isReserved(
  1. String name
)

Check if name is reserved by Dart language.

Implementation

bool isReserved(String name) {
    return _reservedNames.contains(name);
}