init method
Implementation
void init(GeoCodingResponse pickup, GeoCodingResponse dropoff,
BuildContext context) {
// RFN = RapidFireNavigator(LibsRF.instance.IConfig!,
// Controller: mapController, OnMapTap: (double lat, double lng) {},onPointerUp: (lat, lng) {
// },);
status = RequestStatus.notstarted;
vehicleList = [
VehicleCard(
isSelected: true,
image: "assets/motorbike.png",
name: "Bike",
distnace: bikeDuration,
price: 120),
VehicleCard(
isSelected: false,
image: "assets/car.png",
name: "Car",
distnace: carDuration,
price: 220),
];
drawPoly(pickup, dropoff);
// initLocation();
}