GmhSearchParams constructor
const
GmhSearchParams({})
Parameters for Google Map Helper search functionality.
Implementation
const GmhSearchParams({
this.loc,
this.lang,
this.radius,
this.limit = 10,
this.countryCode,
this.directionsKey,
required this.apiKey,
this.strictBounds = false,
}) : assert(limit > 0, 'limit must be greater than 0'),
assert(radius == null || radius > 0, 'radius must be greater than 0'),
assert(
radius == null || radius <= 50000,
'radius cannot be greater than 50000',
);