FlutterCookieConsentPlatform class abstract

Platform interface for cookie consent functionality.

This interface defines the contract that platform-specific implementations must follow to handle cookie consent storage and retrieval.

Inheritance
  • Object
  • PlatformInterface
  • FlutterCookieConsentPlatform
Implementers

Constructors

FlutterCookieConsentPlatform.new()
Constructs a FlutterCookieConsentPlatform.

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 the current cookie preferences from platform storage.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
saveCookiePreferences(Map<String, dynamic> preferences) Future<void>
Saves the given cookie preferences to platform storage.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

instance FlutterCookieConsentPlatform
The default instance of FlutterCookieConsentPlatform to use.
getter/setter pair