isInScope method

bool isInScope(
  1. String scopeName
)

Returns true if the Weaver has entered the scope with the given scopeName.

Implementation

bool isInScope(final String scopeName) => scopes.firstWhereOrNull((final e) => e.name == scopeName) != null;