distanceFrom method

num distanceFrom(
  1. Location that
)
inherited

Returns the distance, as defined by distanceMeasure, between this and that item.

Implementation

num distanceFrom(Location that) => distanceMeasure(location, that.location);