celsiusToFahrenheit method
Convert Celsius to Fahrenheit
print(25.celsiusToFahrenheit());
Implementation
double celsiusToFahrenheit() {
return this * 9 / 5 + 32;
}
Convert Celsius to Fahrenheit
print(25.celsiusToFahrenheit());
double celsiusToFahrenheit() {
return this * 9 / 5 + 32;
}