kmToM method
km 转 m
Implementation
String kmToM() {
var m = this;
if (m == null) {
return "";
} else {
if (m > 1) {
return "${m.toStringAsFixed(2)}km";
} else {
return "${m.multi(1000).toStringAsFixed(0)}m";
}
}
}