BoundedContext class

One bounded context of a ContextBoundaryRules.

Constructors

BoundedContext({required String name, required List<String> libraries, List<String> public = const [], List<String> dependsOn = const [], List<String> tests = const []})
Creates a context.
const

Properties

dependsOn → List<String>
The contexts its libraries may import from.
final
hashCode → int
The hash code for this object.
no setterinherited
libraries → List<String>
Globs under lib/ of the libraries forming the context.
final
name → String
The context's name, unique in the rules.
final
public → List<String>
Globs under lib/ of its public entry libraries.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
tests → List<String>
Globs under test/ of its tests (checked when the rules include tests).
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited