Location.clone constructor

Location.clone(
  1. Location loc
)

Clones a Location:

Implementation

factory Location.clone(Location loc) => Location(loc.location);