BaatoSearch class

A class to interact with Baato Search API

Provides functionality to search for places using Baato API @deprecated This class is deprecated and will be removed in a future version

Annotations
  • @Deprecated('Superseded by the BaatoAPI client. This will be removed in a future version.')

Constructors

BaatoSearch.initialize({required String query, required String accessToken, String? appId, String? securityCode, String? apiBaseUrl, String? apiVersion, String? type, int? limit, int? radius, double? lat, double? lon})
To initialize Baato Search API parameters using query and accessToken @deprecated This constructor is deprecated and will be removed in a future version

Properties

accessToken ↔ String
getter/setter pair
apiBaseUrl ↔ String?
getter/setter pair
apiVersion ↔ String?
getter/setter pair
appId ↔ String?
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
lat ↔ double?
getter/setter pair
limit ↔ int?
getter/setter pair
lon ↔ double?
getter/setter pair
query ↔ String
getter/setter pair
radius ↔ int?
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
securityCode ↔ String?
getter/setter pair
type ↔ String?
getter/setter pair

Methods

getQueryParams() → Map<String, dynamic>
Builds query parameters for API requests
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
searchQuery() → Future<SearchResponse>
Search using baato API
toString() → String
A string representation of this object.
inherited

Operators

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