From e9f2b663cae83b9b3d9f8df7d54f29aac5ff587c Mon Sep 17 00:00:00 2001 From: Gaston Thea Date: Wed, 10 May 2023 10:19:48 -0300 Subject: [PATCH] Update README.md --- splitio/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/splitio/README.md b/splitio/README.md index 7d64ff8..7d2b918 100644 --- a/splitio/README.md +++ b/splitio/README.md @@ -1,7 +1,7 @@ # Split Flutter plugin ## Overview -This is the official Flutter plugin designed to work with Split, the platform for controlled rollouts, which serves features to your users via a Split feature flag to manage your complete customer experience. +This is the official Flutter plugin designed to work with Split, the platform for controlled rollouts, which serves features to your users via feature flags to manage your complete customer experience. [![Twitter Follow](https://img.shields.io/twitter/follow/splitsoftware.svg?style=social&label=Follow&maxAge=1529000)](https://twitter.com/intent/follow?screen_name=splitsoftware) @@ -19,11 +19,11 @@ Here is a small example of how to perform an evaluation. ```dart import 'package:splitio/splitio.dart'; -final Splitio _split = Splitio('YOUR_API_KEY', 'KEY'); +final Splitio _split = Splitio('YOUR_SDK_KEY', 'USER_KEY'); /// Get treatment _split.client(onReady: (client) async { - final String treatment = await client.getTreatment('SPLIT_NAME'); + final String treatment = await client.getTreatment('FEATURE_FLAG_NAME'); if (treatment == 'on') { /// Insert code here to show on treatment