MethodChannelFlutterCookieConsent class
Platform-specific implementation of FlutterCookieConsentPlatform for mobile platforms.
This implementation uses shared_preferences to store and retrieve cookie preferences.
- Inheritance
-
- Object
- PlatformInterface
- FlutterCookieConsentPlatform
- MethodChannelFlutterCookieConsent
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getCookiePreferences(
) → Future< Map< String, dynamic> ?> -
Retrieves cookie preferences from shared preferences.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
saveCookiePreferences(
Map< String, dynamic> preferences) → Future<void> -
Saves cookie preferences to shared preferences.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited