Location.withCoordinates constructor - Location - core library - Dart API
Location.withCoordinates
Location.withCoordinates constructor
- GeoCoordinates coordinates
Creates a new Location instance from the provided GeoCoordinates value.
timestamp is initialized with January 1, 1970, 00:00:00 GMT value.
The rest of the fields will be initialized to null.
coordinatesThe geographic coordinates of the location.
Implementation
Location.withCoordinates(this.coordinates)
: bearingInDegrees = null, speedInMetersPerSecond = null, time = null, horizontalAccuracyInMeters = null, verticalAccuracyInMeters = null, bearingAccuracyInDegrees = null, speedAccuracyInMetersPerSecond = null, timestampSinceBoot = null, locationTechnology = null, source = null, gnssTime = null, pitchInDegrees = null;