OsrmSource constructor
OsrmSource({
- Client? client,
- Uri serverBuilder(
- OsrmRequest options
- Duration timeout = const Duration(seconds: 20),
OsrmSource constructor
Implementation
OsrmSource({
Client? client,
Uri Function(OsrmRequest options)? serverBuilder,
this.timeout = const Duration(seconds: 20),
}) : serverBuilder = serverBuilder ?? OsrmServerBuilder.defaultBuild,
client = client ?? Client();