campaignFetchForTesting property

  1. @visibleForTesting
Future<void> get campaignFetchForTesting

Completes when the campaign fetch started by initialize has settled the SDK state (ready or failed). Tests await it instead of guessing.

Implementation

@visibleForTesting
Future<void> get campaignFetchForTesting => _campaignFetch ?? Future.value();