inScope method

bool inScope(
  1. String id
)

True when id belongs to this controller's scope.

Implementation

bool inScope(String id) =>
    scopePrefix == null || id.startsWith(scopePrefix!);