SearchParameters constructor
const
SearchParameters({})
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);