brdiscovery 0.3.0 brdiscovery: ^0.3.0 copied to clipboard
Bloomreach Discovery - API SDK for executing product, category and visual search within a Flutter application
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add brdiscovery
With Flutter:
$ flutter pub add brdiscovery
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
brdiscovery: ^0.3.0
Alternatively, your editor might support dart pub get
or flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:brdiscovery/api.dart';
import 'package:brdiscovery/api/product_search_api.dart';
import 'package:brdiscovery/api/visual_search_api.dart';
import 'package:brdiscovery/api/visual_upload_api.dart';
import 'package:brdiscovery/api_exception.dart';
import 'package:brdiscovery/api_helper.dart';
import 'package:brdiscovery/api_psc_client.dart';
import 'package:brdiscovery/api_vs_client.dart';
import 'package:brdiscovery/model/bad_request_response.dart';
import 'package:brdiscovery/model/product_search_response.dart';
import 'package:brdiscovery/model/product_search_response_facet_counts.dart';
import 'package:brdiscovery/model/product_search_response_facet_counts_facet_fields.dart';
import 'package:brdiscovery/model/product_search_response_facet_counts_facet_fields_category_inner.dart';
import 'package:brdiscovery/model/product_search_response_facet_counts_facet_fields_value.dart';
import 'package:brdiscovery/model/product_search_response_facet_counts_facet_ranges.dart';
import 'package:brdiscovery/model/product_search_response_facet_counts_facet_ranges_price_inner.dart';
import 'package:brdiscovery/model/product_search_response_facet_counts_facet_ranges_value.dart';
import 'package:brdiscovery/model/product_search_response_response.dart';
import 'package:brdiscovery/model/visual_search/client_error_response.dart';
import 'package:brdiscovery/model/visual_search/client_error_response_response.dart';
import 'package:brdiscovery/model/visual_search/visual_search_response.dart';
import 'package:brdiscovery/model/visual_search/visual_search_response_response.dart';
import 'package:brdiscovery/model/visual_search/visual_search_upload_response.dart';
import 'package:brdiscovery/model/visual_search/visual_search_upload_response_metadata.dart';
import 'package:brdiscovery/model/visual_search/visual_search_upload_response_metadata_widget.dart';
import 'package:brdiscovery/model/visual_search/visual_search_upload_response_response.dart';
import 'package:brdiscovery/util/util.dart';