openfeature 0.0.1 openfeature: ^0.0.1 copied to clipboard
This is the Dart implementation of OpenFeature, a vendor-agnostic abstraction library for evaluating feature flags.
package | build | pub | likes | popularity | pub points |
---|---|---|---|---|---|
openfeature |
Dart implementation of OpenFeature, a vendor-agnostic abstraction library for evaluating feature flags.
This is pretty much experimental and under development as a hobby project.
import 'package:openfeature/openfeature.dart';
final api = OpenFeatureAPI();
// set your own provider
api.provider = EnvVarProvider();
final client = api.getClient('myClient');
final result = await client.getBooleanValue('myBoolFlag', false);
For complete documentation, visit: https://docs.openfeature.dev/docs/category/concepts