onExposure method

void onExposure(
  1. Modification pModification
)
override

Implementation

void onExposure(Modification pModification) {
  Flagship.sharedInstance().getConfiguration()?.onVisitorExposed?.call(
      VisitorExposed(
          visitor.visitorId, visitor.anonymousId, visitor.getContext()),
      ExposedFlag(
          pModification.key,
          pModification.value,
          pModification.defaultValue,
          FlagMetadata.withMap(pModification.toJsonInformation())));
}