SearchRequest constructor

SearchRequest({
  1. required int limit,
  2. required String query,
  3. String? street,
  4. String? city,
  5. String? county,
  6. String? state,
  7. String? country,
  8. String? postalCode,
  9. String? language,
  10. List<String>? countryCodes,
  11. List<String>? excludePlaceIds,
  12. ViewBox? viewBox,
  13. bool? addressDetails = true,
  14. bool? extraTags = true,
  15. bool? nameDetails = true,
})

Implementation

SearchRequest({
  required this.limit,
  required this.query,
  this.street,
  this.city,
  this.county,
  this.state,
  this.country,
  this.postalCode,
  this.language,
  this.countryCodes,
  this.excludePlaceIds,
  this.viewBox,
  this.addressDetails = true,
  this.extraTags = true,
  this.nameDetails = true,
});