ApiHttpClient class
A client for making HTTP requests to the Google Maps API.
The ApiHttpClient class wraps around the Dio HTTP client and provides
additional configuration and functionality, such as custom headers,
timeout settings, and request validation.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
request(
String path, {dynamic body, String method = "GET", Map< String, dynamic> ? headers = const {}, Map<String, dynamic> ? queryParameters = const {}, bool authenticated = false}) → Future<Response> -
Sends an HTTP request to the specified
path. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited