search abstract method

  1. @POST("/maps/places")
Future<List<Prediction>> search(
  1. @Body() String term, {
  2. @Query("lang") String? lang,
  3. @Query("component") String? component,
})

Implementation

@POST("/maps/places")
Future<List<Prediction>> search(
  @Body() String term, {
  @Query("lang") String? lang,
  @Query("component") String? component,
});