AddressSuggestionRequest class

Used to call address suggestions API.

Annotations
  • @JsonSerializable(explicitToJson: true)

Constructors

AddressSuggestionRequest(String query, {int? count, String? language, List<AddressSuggestionConstraint>? constraints, List<AddressSuggestionRadiusConstraint>? radiusConstraints, List<AddressSuggestionPriority>? locationsPriority, LevelBoundry? upperBoundary, LevelBoundry? lowerBoundary})
AddressSuggestionRequest represents an serializable object used to perform suggestion queries. query is required field. count defaults to 10 and language defaults to ru.
AddressSuggestionRequest.fromJson(Map<String, dynamic> json)
factory

Properties

constraints List<AddressSuggestionConstraint>?
getter/setter pair
count int?
Suggestions response count (default 10, max 20)
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
language String?
getter/setter pair
locationsPriority List<AddressSuggestionPriority>?
getter/setter pair
lowerBoundary String?
getter/setter pair
query String
Request query
getter/setter pair
radiusConstraints List<AddressSuggestionRadiusConstraint>?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
upperBoundary String?
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited