flutter_split

Last updated:

0 purchases

flutter_split Image
flutter_split Images
Add to Cart

Description:

flutter split

This package contains a wrapper of Split.io. This is an UNOFFICIAL pub for Flutter.
Usage #
To use this plugin, add split_view as a dependency in your pubspec.yaml file.
Create Split #
Create a Split in your organization given a traffic type. (see more)
final mySplit = await splitApi.createSplit(name: 'your_split_name');
print('Created split: ${mySplit.toString()}');
copied to clipboard
Get Split #
Retrieves the Split. (see more)
final split = await splitApi.getSplit(name: 'your_split_name');
print(split.toString());
copied to clipboard
Delete Split #
Delete a Split from your organization. This will automatically unconfigure the Split Definition from all environments. (see more)
await splitApi.deleteSplit(name: 'your_split_name');
copied to clipboard
List Split Definitions #
Retrieves the Split Definitions given an environment. (see more)
final splitDefinitionList = splitApi.getSplitDefinitionList();
print(splitDefinitionList);
copied to clipboard
List Split Names #
Retrieves the Splits for an organization. (see more)
final splitNames = splitApi.listSplitsName();
print(splitNames);
copied to clipboard
Get Split Definition #
Retrieves a Split Definition given the name and the environment. (see more)
final mySplitDefinition = splitApi.getSplitDefinition('your_split_name');
print(mySplitDefinition);
copied to clipboard

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.