GREDU-UNLEASH

Tools for toggling features that we can enable or disable a feature.

Add to your pubspec.yaml

dependencies:
  gredu_unleash: x.y.z

Initialize on your main.dart, we recommended use it as singleton

final config = GreduUnleashConfig(
          proxyUrl: <Proxy URL>,
          headers: <Headers>
      );

final unleash = GreduUnleash.init(config);

*Notes : Polling Interval is optional, but we don't use it for now

Check is a feature enabled :

    if (unleash.isFeatureEnabled("payment")) {
      // Enable feature
    } else {
      // Disable feature
    }

More Information : https://docs.getunleash.io/

Libraries

example
extention
feature_flags_entity
feature_flags_entity_helper
gredu_unleash
gredu_unleash_config
json_convert_content
json_field