MapboxApiService class
///////////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////////
Constructors
- MapboxApiService.new(String accessToken)
- //////////// ////////////
Properties
- accessToken → String
-
////////////
////////////
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
convertIncidentToReport(
Map< String, dynamic> incident) → Report - Converts Mapbox incident to Report format for unified handling
-
forwardGeocode(
String address) → Future< Map< String, dynamic> ?> - //////////// //////////// Forward geocoding (address to coordinates)
-
getRoadHazardsInArea(
RaliPosition center, double radiusKm) → Future< List< Map< >String, dynamic> > - Gets road hazards by type in a specific area (used for map display)
-
getRoadIncidents(
RouteDetails route) → Future< List< Map< >String, dynamic> > - //////////// //////////// Gets road incidents (accidents, hazards, closures) along a route
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
reverseGeocode(
{required RaliPosition position}) → Future< Map< String, dynamic> ?> - Reverse geocoding (coordinates to address) - uses RaliPosition
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited