unities_helper library Null safety

Classes

AreaValues
Color
DataTransferRateValues
DigitalStorageValues
EnergyValues
FrequencyValues
FuelEconomyValues
HEXColor
HSLColor
HSVColor
LengthValues
MassValues
PlaneAngleValues
PressureValues
RGBAColor
TemperatureValues
TimeValues
VolumeValues

Extensions

AreaExt
DataTransferRateExt
DigitalStorageExt
EnergyExt
FrequencyExt
FuelEconomyExt
HexExtension
LengthExt
MassExt
PlaneAngleExt
PressureExt
TempExt
TimeExt
VolumeExt

Functions

convert<T>(T from, T to, dynamic value) → dynamic
Convert the types
convertArea(Area from, Area to, double value) double
Convert area. It may lose some decimals in the proccess.
convertDataTransferRate(DataTransferRate from, DataTransferRate to, double value) double
Convert data tranfer rate per second. It may lose some decimals in the proccess.
convertDigitalStorage(DigitalStorage from, DigitalStorage to, double value) double
Convert digital storage. It may lose some decimals in the proccess.
convertEnergy(Energy from, Energy to, double value) double
Convert energy. Some decimals may be lost in the proccess.
convertFrequency(Frequency from, Frequency to, double value) double
Convert frequencies. Some decimals may be lost in the proccess.
convertFuelEconomy(FuelEconomy from, FuelEconomy to, double value) double
Convert Fuel economy. It may lose some decimals in the proccess.
convertLength(Length from, Length to, double value) double
Convert Length. It may lose some decimals in the proccess.
convertMass(Mass from, Mass to, double value) double
Convert Mass. It may lose some decimals in the proccess.
convertPlaneAngle(PlaneAngle from, PlaneAngle to, double value) double
Convert Plane Angle. It may lose some decimals in the proccess.
convertPressure(Pressure from, Pressure to, double value) double
Convert Pressure. It may lose some decimals in the proccess.
convertTemperature(Temperature from, Temperature to, double value) double
Convert Temperature. It may lose some decimals in the proccess.
convertTime(Time from, Time to, double value) double
Convert Time. It may lose some decimals in the proccess.
convertVolume(Volume from, Volume to, double value) double
Convert Volume. It may lose some decimals in the proccess.

Enums

Area
DataTransferRate
Data tranfer rate per second
DigitalStorage
Energy
Convert energy
Frequency
Approximate result when converting. Some decimals may be lost in the proccess.
FuelEconomy
Fuel economy
Length
Length
Mass
Approximate result when converting. Some decimals may be lost in the proccess.
PlaneAngle
Pressure
Temperature
Time
Volume