menu
free_map package
documentation
services/fm_models.dart
FMSearchOptions class
FMSearchOptions class
dark_mode
light_mode
FMSearchOptions
class
Constructors
FMSearchOptions
({
int
?
radius
,
List
<
String
>
?
countries
,
int
limit
=
10
,
int
maxRetries
=
3
,
List
<
String
>
langs
=
const ['en']
})
const
FMSearchOptions.initial
()
factory
FMSearchOptions.reducedRetry
(
FMSearchOptions
options
)
factory
Properties
countries
→
List
<
String
>
?
search in particular countries only
final
hashCode
→
int
The hash code for this object.
no setter
inherited
langs
→
List
<
String
>
languages allowed in the search results
final
limit
→
int
maximum number of search results
final
maxRetries
→
int
maximum retries on a search failure
final
radius
→
int
?
Radius of the search area in meters. Specifies the distance within which results should be fetched from the current location. Ensure that location services are enabled and the app has the necessary location permissions.
final
runtimeType
→
Type
A representation of the runtime type of the object.
no setter
inherited
Methods
noSuchMethod
(
Invocation
invocation
)
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString
(
)
→
String
A string representation of this object.
inherited
Operators
operator ==
(
Object
other
)
→
bool
The equality operator.
inherited
free_map package
documentation
services/fm_models
FMSearchOptions class
fm_models library