GreduUnleash class

Constructors

GreduUnleash()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getConfig() GreduUnleashConfig?
getData() FeatureFlagsEntity?
Get response data from call API This is the standard of Unleash opensource API response
isFeatureEnabled(String toggleName, {bool defaultValue = true}) bool
Check your feature is enabled or disabled Put your toggle name / feature name as params Toggle name should be representing which feature that you want to check You can put your default value for your own business requirement
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

init({required GreduUnleashConfig config}) Future<GreduUnleash>
Static method for initialization It's required function