unleash 0.0.3
unleash: ^0.0.3 copied to clipboard
A dart client for Unleash. Unleash is a simple and easy to use feature toggle (feature flag) service.
example/example.dart
import 'package:unleash/unleashdart.dart';
Future<void> main() async {
await Unleash.init(
UnleashSettings(
appName: '<appname>',
instanceId: '<instanceid>',
unleashApi: Uri.parse('<api_url>'),
),
);
print(Unleash.isEnabled('Awesome Feature'));
}