getMapByIdMapsIdMapIdGetWithHttpInfo method
Get Map By Id
Retrieve the details of a map by its unique ID.
Note: This method returns the HTTP Response.
Parameters:
- int mapId (required): The unique ID of the map.
Implementation
Future<Response> getMapByIdMapsIdMapIdGetWithHttpInfo(
int mapId,
) async {
// ignore: prefer_const_declarations
final path = r'/maps/id/{map_id}'.replaceAll('{map_id}', mapId.toString());
// ignore: prefer_final_locals
Object? postBody;
final queryParams = <QueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
const contentTypes = <String>[];
return apiClient.invokeAPI(
path,
'GET',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}