declares method

bool declares(
  1. String name
)

Whether this scope holds name.

Implementation

bool declares(String name) => _values.containsKey(name);