SearchParameters constructor

const SearchParameters({
  1. required String key,
  2. required Place q,
  3. Coordinates? center,
  4. int? zoom,
  5. MapType? mapType,
  6. String? language,
  7. String? region,
})

Creates a new instance of SearchParameters.

The q parameter is required and represents the search query. The key, center, zoom, mapType, language, and region parameters are inherited from the Parameters class.

Implementation

const SearchParameters({
  required super.key,
  required this.q,
  super.center,
  super.zoom,
  super.mapType,
  super.language,
  super.region,
}) : super(mode: MapMode.search);