userExposed method
Implementation
Future<void> userExposed() async {
// Before expose whe should check the Type
Modification? modif = this._visitorDelegate.getFlagModification(this._key);
if (modif != null) {
if (modif.value == null || _isSameType(modif.value)) {
Flagship.logger(Level.DEBUG, "Send activate for the flag: " + _key);
this._visitorDelegate.activateModification(this._key);
}
} else {
Flagship.logger(Level.DEBUG, "Flag: " + _key + "not found, the activate won't be sent");
}
}