OSRMManager.custom constructor

OSRMManager.custom({
  1. required String server,
  2. RoadType roadType = RoadType.car,
  3. Dio? dio,
})

Implementation

OSRMManager.custom({
  required this.server,
  this.roadType = RoadType.car,
  Dio? dio,
}) {
  this.dio = dio ?? Dio();
}