fast_operation 1.6.0 fast_operation: ^1.6.0 copied to clipboard
A dart package for essential quick conversions for physical properties like distance, weight, temperature. Just import one file,then access all of its properties.
import 'package:fast_operation/fast_operation.dart';
void main(){
var degrees = angle().convert(value: 1.232,from: ANGLE.radians,to: ANGLE.degrees);
print(degrees); //70.5884256
var pounds = weight().convert(value: 80.21,from: WEIGHT.kilograms,to: WEIGHT.pounds);
print(pounds); //176.83281083
var octal = base_converter().decimalToOctal(312);
print(octal); //470
var kelvin = temperature().convert(value: 95,from: TEMPERATURE.fahrenheit,to: TEMPERATURE.kelvin);
print(kelvin); //308.15
var feet = distance().convert(value: 379,from: DISTANCE.meter,to: DISTANCE.feet);
print(feet); //1243.499
}