ServerBuildFn typedef

ServerBuildFn = Uri Function(OsrmRequest options)

OsrmCoordinate class for a location with latitude and longitude Uri build(OsrmRequest options)

Implementation

// class OsrmCoordinate {
//   /// [latitude] of the location
//   final double latitude;
//   /// [longitude] of the location
//   final double longitude;
//   OsrmCoordinate({
//     required this.latitude,
//     required this.longitude,
//   });
// }

/// Uri build(OsrmRequest options)
typedef ServerBuildFn = Uri Function(OsrmRequest options);