AreaInterpreter class
Interprets Areas as a specific unit.
- Inheritance
-
- Object
- MeasurementInterpreter<
Area> - AreaInterpreter
Constructors
-
AreaInterpreter(MeasurementInterpreter<
Distance> a, MeasurementInterpreter<Distance> b, {String? name}) - Constructs an AreaInterpreter from any two DistanceInterpreters.
-
AreaInterpreter.squared(MeasurementInterpreter<
Distance> a, {String? name}) - Constructs an AreaInterpreter that will square a basic DistanceInterpreter.
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
-
call(
double value, {Precision precision = Precision.max}) → Area -
Creates a measurement based on the value and the configured multiplier.
override
-
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