createConsentRequestParameters static method

ConsentRequestParameters createConsentRequestParameters({
  1. required bool isDebug,
  2. List<String>? testIds,
})

Implementation

static ConsentRequestParameters createConsentRequestParameters({required bool isDebug, List<String>? testIds}) {
  final settings = ConsentDebugSettings(
    debugGeography: isDebug ? DebugGeography.debugGeographyEea : null,
    testIdentifiers: testIds,
  );
  return ConsentRequestParameters()
      ..consentDebugSettings = settings;
}