LocalStorage class abstract
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
-
clear(
) → Future< void> - Clear the following data from the local storage:
-
getFirstVisit(
) → Future< DateTime?> -
getOptOut(
) → Future< bool> -
getVisitCount(
) → Future< int> -
getVisitorId(
) → Future< String?> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setFirstVisit(
DateTime firstVisit) → Future< void> -
setOptOut(
{required bool optOut}) → Future< void> -
setVisitCount(
int visitCount) → Future< void> -
setVisitorId(
String visitorId) → Future< void> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited