AddConverter class

A converter adding a constant offset (approximated as a double) to numeric values.

Inheritance

Constructors

AddConverter(num offset)

Properties

hashCode int
The hash code for this object.
no setterinherited
inverse UnitConverter
The inverse of this converter.
no setteroverride
isLinear bool
Indicates if this converter is linear.
no setteroverride
offset num
The offset value for this add converter.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

concatenate(UnitConverter converter) UnitConverter
Concatenates this converter with another converter.
override
convert(double amount) double
Converts a double value.
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.
override