Hooks class

Events fired by ConfigCatClient.

Constructors

Hooks({dynamic onError(String, [dynamic error, StackTrace? stackTrace])?, dynamic onConfigChanged(Map<String, Setting>)?, dynamic onFlagEvaluated(EvaluationDetails)?, dynamic onClientReady()?})

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

addOnClientReady(dynamic onClientReady()) → void
addOnConfigChanged(dynamic onConfigChanged(Map<String, Setting>)) → void
addOnError(dynamic onError(String, [dynamic error, StackTrace? stackTrace])) → void
addOnFlagEvaluated(dynamic onFlagEvaluated(EvaluationDetails)) → void
clear() → void
invokeConfigChanged(Map<String, Setting> entries) → void
invokeError(String message, [dynamic error, StackTrace? stackTrace]) → void
invokeFlagEvaluated(EvaluationDetails context) → void
invokeOnReady() → void
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