I'm trying to get the user current location, but I got this error on l.latitude and l.longitude
The argument type 'double?' can't be assigned to the parameter type 'double'.
void _onMapCreated(GoogleMapController _cntlr) {
_controller = _cntlr;
_location.onLocationChanged.listen((l) {
_controller.animateCamera(
CameraUpdate.newCameraPosition(
CameraPosition(
target: LatLng(l.latitude, l.longitude),
zoom: 15,
),
),
);
});
}