hackle_sdk_platform_interface 2.1.2 hackle_sdk_platform_interface: ^2.1.2 copied to clipboard
A common platform interface for the hackle flutter sdk
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add hackle_sdk_platform_interface
With Flutter:
$ flutter pub add hackle_sdk_platform_interface
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
hackle_sdk_platform_interface: ^2.1.2
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:hackle_sdk_platform_interface/constants.dart';
import 'package:hackle_sdk_platform_interface/hackle_method_channel_platform.dart';
import 'package:hackle_sdk_platform_interface/hackle_platform_interface.dart';
import 'package:hackle_sdk_platform_interface/model/decision.dart';
import 'package:hackle_sdk_platform_interface/model/feature_flag_decision.dart';
import 'package:hackle_sdk_platform_interface/model/hackle_config.dart';
import 'package:hackle_sdk_platform_interface/model/hackle_event.dart';
import 'package:hackle_sdk_platform_interface/model/hackle_user.dart';
import 'package:hackle_sdk_platform_interface/model/parameter_config.dart';
import 'package:hackle_sdk_platform_interface/model/properties_builder.dart';
import 'package:hackle_sdk_platform_interface/model/remote_config.dart';
import 'package:hackle_sdk_platform_interface/model/variation.dart';
import 'package:hackle_sdk_platform_interface/utils/enum_util.dart';