- Implemented types
-
- Comparable<
T>
- Comparable<
- Implementers
- AccelerationAngular
- AccelerationLinear
- Angle
- Area
- CalorificValue
- Capacitance
- Charge
- ChemicalHenrysLaw
- ConcentrationLiquidSolution
- ConcentrationMolar
- Conductance
- Conductivity
- Current
- DataStorage
- DataTransfer
- Density
- DigitalImageResolution
- ElectricField
- Energy
- Entropy
- EUCurrency
- Flow
- FlowMass
- FlowMolar
- Force
- FrequencyWavelength
- FuelEfficiency
- HeatCapacity
- HeatFluxDensity
- HeatTransferCoefficient
- HVACEfficiency
- Illumination
- IlluminationLuminousIntensity
- Inductance
- LatentHeat
- Length
- LinearChargeDensity
- LinearCurrentDensity
- Luminance
- MagneticFlux
- MagneticFluxDensity
- MagnetomotiveForce
- Mass
- MassFluxDensity
- MetricPrefixes
- MomentofInertia
- Permeability
- Power
- Pressure
- RadiationAbsorbedDose
- RadiationAbsorbedDoseRate
- RadiationDoseEquivalent
- RadiationExposure
- RadiationRadioactivity
- Resistance
- Resistivity
- Sound
- SpecificHeatCapacity
- SpecificVolume
- SurfaceChargeDensity
- SurfaceCurrentDensity
- SurfaceTension
- Temperature
- TemperatureInterval
- ThermalConductivity
- ThermalExpansion
- ThermalResistivity
- Time
- Torque
- Typography
- Velocity
- VelocityAngular
- ViscosityDynamic
- ViscosityKinematic
- Volume
- VolumeChargeDensity
- VolumeDry
- VolumeLumber
Properties
- anchor → T
-
no setter
- displayName → String
-
no setter
- hashCode → int
-
The hash code for this object.
no setteroverride
- majorName → String
-
no setter
- minorName → String
-
no setter
- ratio → num
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- symbol → String
-
no setter
-
units
→ List<
T> -
no setter
-
unitsAsMap
→ EnumValues<
T> -
no setter
- value → num
-
final
- valueShift → num
-
no setter
Methods
-
compareTo(
T other) → int -
Compares this object to another object.
override
-
convertTo<
E extends Unit< (T> >E to) → T -
Convert this unit to another unit under same category, the value
of
to
is ignored -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
-
withPrecision(
[Precision precision = Precision.two]) → T - Get the exact precision on value calculation
-
withValue(
num val) → T
Operators
-
operator +(
T other) → T -
operator -(
T other) → T -
operator <(
T other) → bool -
operator <=(
T other) → bool -
operator ==(
Object other) → bool -
The equality operator.
override
-
operator >(
T other) → bool -
operator >=(
T other) → bool