searchbase library Null safety

Classes

AggregationDataChanges
Represents the AggregationData change object with prev and next values.
Aggregations
Represents the elasticsearch aggregations response for QueryType.term type of SearchController.
AppbaseSettings
AppbaseSettings allows you to customize the analytics experience when appbase.io is used as a backend.
BooleanTypeChanges
Represents the bool type change object with prev and next values.
Changes
Represents the change object with prev and next values.
ChangesController
DefaultQueryTypeChanges
Represents the DefaultQuery type change object with prev and next values.
DynamicMapTypeChanges
Represents the Map
IntegerChanges
Represents the Integer type change object with prev and next values.
Option
Allows to configure the effects after executing a query.
Options
Allows to configure the effects of an update in a particular property.
ReactTypeChanges
Represents the React type change object with prev and next values.
RecentSearchesChanges
Represents the RecentSeaches change object with prev and next values.
RecentSearchOptions
Options to configure the recent searches request.
RequestStatusChanges
Represents the RequestStatus change object with prev and next values.
Results
Represents the response for QueryType.search, QueryType.geo and QueryType.range type of SearchController.
ResultsChanges
Represents the Results change object with prev and next values.
SearchBase
The SearchBase class holds the state for all the active SearchController and can be used to provide the global configuration to the registered SearchController.
SearchController
The SearchController class can be used to bind to different kinds of search UI widgets.
SearchControllerState
It stores the state of the SearchController at any time.
SearchStateController
It allows you to access the current state of your widgets along with the search results. For instance, you can use this class to access the previous and the next(latest) state of your app widget tree.
SortTypeChanges
Represents the SortType type change object with prev and next values.
StringListChanges
Represents the List
Suggestion
Represents a suggestion object.

Extensions

KeysToSubscribeExtension
QueryTypeExtension
SortTypeExtension

Constants

DataFieldAsArray → const String
'dataFieldAsArray'
ErrorMessages → const Map
{InvalidIndex : 'SearchBase: Please provide a valid index.', InvalidURL : 'SearchBase: Please provide a valid url.', InvalidCredentials : 'SearchBase: Please provide valid credenti…
InvalidComponentId → const String
'invalidComponentId'
InvalidCredentials → const String
'invalidCredentials'
InvalidDataField → const String
'invalidDataField'
InvalidIndex → const String
'invalidIndex'
InvalidURL → const String
'invalidURL'
suggestionQueryID → const String
'DataSearch__suggestions'

Enums

KeysToSubscribe
QueryType
Represents the type of the query which is defaults to QueryType.search, valid values are search, term, range & geo. You can read more here.
RequestStatus
Represents the current status of the elasticsearch request
SortType

Typedefs

SubscriptionFunction = dynamic Function(ChangesController change)
TransformRequest = Future<Object> Function(Map requestOptions)
TransformResponse = Future Function(dynamic response)