SearchRequest constructor
SearchRequest({
- required int limit,
- required String query,
- String? street,
- String? city,
- String? county,
- String? state,
- String? country,
- String? postalCode,
- String? language,
- List<
String> ? countryCodes, - List<
String> ? excludePlaceIds, - ViewBox? viewBox,
- bool? addressDetails = true,
- bool? extraTags = true,
- 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,
});