findNamedScope static method

Scope? findNamedScope(
  1. String? id
)

Implementation

static Scope? findNamedScope(String? id) {
  if (id == null || !id.contains(".")) return null;
  return System.currentApp?.scopeManager.of(id.split(".").first.trim());
}