Import the library:
import 'unit_conversion.dart';
You can use this converter to convert between the units. For example:
var celcius = UnitConverter.FahrenheitToCelsius(32.0);
print(celcius);
- fahrenheitToCelsius
- celsiusToFahrenheit
- celsiusToKelvin
- kelvinToCelsius
- milesToMeters
- milesToKilometers
- kilometersToMiles
- degreesToRadians
- radiansToDegrees
- degreesPerSecondToRadiansPerSecond
- radiansPerSecondToDegreesPerSecond
- degreesPerSecondToHertz
- radiansPerSecondToHertz
- hertzToDegreesPerSecond
- hertzToRadiansPerSecond
- kilopascalsToHectopascals
- hectopascalsToKilopascals
- kilopascalsToPascals
- hectopascalsToPascals
- atmospheresToPascals
- pascalsToAtmospheres
- coordinatesToMiles
- coordinatesToKilometers
All contributions are welcome! New conversations will add
This project is licensed under the terms of the MIT license.