customPosition function
Position
customPosition(
- LatLng latLng
Customizing the Position and get it
Implementation
Position customPosition(LatLng latLng) => Position(
longitude: latLng.longitude,
latitude: latLng.latitude,
timestamp: null,
speedAccuracy: 0.0,
heading: 0.0,
altitude: 0.0,
speed: 0.0,
accuracy: 0.0,
);