SearchEnginePromotingDatabaseAdapter constructor

SearchEnginePromotingDatabaseAdapter(
  1. {@required DatabaseAdapter master,
  2. @required DatabaseAdapter searchEngine,
  3. Stream<QueryResult> onSearchError(
    1. SearchEnginePromotingDatabaseAdapter database,
    2. DocumentSearchRequest request,
    3. Object error,
    4. StackTrace stackTrace
    )}
)

Implementation

SearchEnginePromotingDatabaseAdapter({
  @required this.master,
  @required this.searchEngine,
  this.onSearchError,
})  : assert(master != null),
      assert(searchEngine != null),
      super(master);