Location constructor
const
Location(})
Creates an object of the Location class with the specified parameters. The parameters latitude
, longitude
are required.
Implementation
const Location(this.latitude, this.longitude,
{this.provider,
this.altitude,
this.accuracy,
this.course,
this.speed,
this.timestamp});