featurehub_client_api 1.1.2 featurehub_client_api: ^1.1.2 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
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.1.2
Alternatively, your editor might support dart 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_client.dart';
import 'package:featurehub_client_api/model/environment.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.dart';
import 'package:featurehub_client_api/model/rollout_strategy_attribute.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';