AgentScope constructor

AgentScope({
  1. Set<String>? allowedIds,
  2. Set<String>? allowedKinds,
  3. bool allowWrite = true,
})

Implementation

AgentScope({
  Set<String>? allowedIds,
  Set<String>? allowedKinds,
  this.allowWrite = true,
}) : allowedIds = allowedIds == null ? null : Set.unmodifiable(allowedIds),
     allowedKinds = allowedKinds == null
         ? null
         : Set.unmodifiable(allowedKinds);