Collection class final

Stage 4 of the pipeline: the contributions of every module, of the variants that apply, and of the templates of the present roles.

Constructors

Collection(List<Collected> all, {List<SmfIssue> issues = const []})
Creates the collection.
const

Properties

all → List<Collected>
All contributions, in the order of the modules, then of the role templates in the order of the present roles; each module's variant comes after the module's own contributions.
final
applying → Iterable<Collected>
The contributions that apply in the app.
no setter
hashCode → int
The hash code for this object.
no setterinherited
issues → List<SmfIssue>
A problem for every module or template that failed to contribute.
final
roleData → List<RoleData<Object>>
The data of all roles that applies, in the order of the modules.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

applyingOf<T extends Contribution>() → Iterable<Collected>
The contributions of type T that apply.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
ofModule(ModuleId id) → List<Collected>
The contributions of the module id, its variant's included.
toString() → String
A string representation of this object.
inherited

Operators

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