RouteResponse constructor

RouteResponse({
  1. required OsrmResponseCode code,
  2. String? message,
  3. required List<OsrmRoute> routes,
  4. List<OsrmWaypoint> waypoints = const [],
})

Implementation

RouteResponse({
  required OsrmResponseCode code,
  String? message,
  required this.routes,
  this.waypoints = const [],
}) : super(
        code: code,
        message: message,
      );