getCookieConsent function

Future<bool> getCookieConsent({
  1. required String category,
  2. required String sharedPrefrencesPrefix,
})

Implementation

Future<bool> getCookieConsent({
  required String category,
  required String sharedPrefrencesPrefix,
}) async {
  return (await _getCookieConsent(
          category: category,
          sharedPrefrencesPrefix: sharedPrefrencesPrefix)) ??
      false;
}