kilometerToMeter method

double kilometerToMeter(
  1. double kilometers
)

Implementation

double kilometerToMeter(double kilometers) {
  return kilometers * 1000.0;
}