Scale<X, Y> class abstract interface

A generic mapper from an input domain to an output range.

Implementers

Constructors

Scale()

Properties

domain List<X>
The scale's domain that specifies the input values.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
range List<Y>
The scale's range that specifies the output values.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

call(X? x) → Y?
Given a value from the domain, returns the corresponding value from the range.
copy() Scale<X, Y>
Returns an exact copy of this scale.
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