Collected class final

A contribution with who made it and whether it applies in the app.

Constructors

Collected(Contribution contribution, ContributionOrigin origin, {required bool applies, bool fromHook = false})
Creates the collected contribution of origin.
const

Properties

applies → bool
Whether it applies: every role in its Contribution.when is present and, for RoleData and for a SocketContribution to a socket of a role, that role is.
final
contribution → Contribution
The contribution; a RoleData or SocketContribution carries origin too.
final
fromHook → bool
Whether a render hook of origin returned it, as one of RoleOutput.fragments, rather than its contribute, which does not get the data of the roles.
final
hashCode → int
The hash code for this object.
no setterinherited
origin → ContributionOrigin
Who contributed it.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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