kmToKm method
m 转 km
Implementation
String kmToKm({NumFormat format = NumFormat.longDef}) {
var file = this;
if (file == null) {
return "";
} else {
if (file < 1) {
return "${file.kdivide(1000)}km";
} else {
return "${file.kdivide(1000).kformatStr(format: format)}km";
}
}
}