featurehub_client_api 1.4.0 featurehub_client_api: ^1.4.0 copied to clipboard
This is the OpenAPI client for the FeatureHub SDK. It is not likely to be used on its own.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add featurehub_client_api
With Flutter:
$ flutter pub add featurehub_client_api
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
featurehub_client_api: ^1.4.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:featurehub_client_api/api.dart';
import 'package:featurehub_client_api/api/feature_service_api.dart';
import 'package:featurehub_client_api/api/info_service_api.dart';
import 'package:featurehub_client_api/api_client.dart';
import 'package:featurehub_client_api/model/application_version_info.dart';
import 'package:featurehub_client_api/model/base_rollout_strategy.dart';
import 'package:featurehub_client_api/model/base_rollout_strategy_attribute.dart';
import 'package:featurehub_client_api/model/feature_environment_collection.dart';
import 'package:featurehub_client_api/model/feature_rollout_strategy.dart';
import 'package:featurehub_client_api/model/feature_rollout_strategy_attribute.dart';
import 'package:featurehub_client_api/model/feature_state.dart';
import 'package:featurehub_client_api/model/feature_state_update.dart';
import 'package:featurehub_client_api/model/feature_value_type.dart';
import 'package:featurehub_client_api/model/role_type.dart';
import 'package:featurehub_client_api/model/rollout_strategy_attribute_conditional.dart';
import 'package:featurehub_client_api/model/rollout_strategy_field_type.dart';
import 'package:featurehub_client_api/model/sse_result_state.dart';
import 'package:featurehub_client_api/model/strategy_attribute_country_name.dart';
import 'package:featurehub_client_api/model/strategy_attribute_device_name.dart';
import 'package:featurehub_client_api/model/strategy_attribute_platform_name.dart';
import 'package:featurehub_client_api/model/strategy_attribute_well_known_names.dart';