sendHit method

  1. @override
Future<void> sendHit(
  1. BaseHit hit
)
override

Implementation

@override
Future<void> sendHit(BaseHit hit) async {
  switch (hit.type) {
    case HitCategory.CONSENT:
      {
        visitor.trackingManager?.sendHit(hit);
      }
      break;
    default:
      Flagship.logger(Level.INFO, CONSENT_HIT);
  }
}