MaterialUpdate class abstract base

One step of a material's updates block — language version 3: how a parameter value written for a version before version changes on the way to it.

An open set: an abstract base class whose kinds each say what they do in apply, so a kind a later minor adds (a unit change, a split of one parameter into two) needs nothing of a reader but to call it.

Implementers

Constructors

MaterialUpdate(int version)
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
version → int
The material version this step leads to: it applies to a value written for any version before it.
final

Methods

apply(Map<String, List<double>> values) → Map<String, List<double>>
values, keyed by parameter name, after this step. May return values itself, changed.
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