Reads one quantity for a probe: a field's value at a point, a flow through a section, a solver's own number for a body.
base, so a member added later arrives with a default; sample takes
one growing context.
Constructors
- ProbeSampler()
-
Lets a subclass be const.
const
- ProbeSampler.of(Quantity? sample(ProbeSample sample))
-
A sampler that calls
sample.constfactory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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
-
sample(
ProbeSample sample) → Quantity? - The quantity at the probe's region, or null where there is none to read: no reading is published for that step.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited