RemovalOptions class

Constructors

RemovalOptions({double? since, RemovalOptionsOriginTypes? originTypes, List<String>? origins, List<String>? excludeOrigins})
RemovalOptions.fromJS(RemovalOptions _wrapped)

Properties

excludeOrigins List<String>?
When present, data for origins in this list is excluded from deletion. Can't be used together with origins. Only supported for cookies, storage and cache. Cookies are excluded for the whole registrable domain.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
origins List<String>?
When present, only data for origins in this list is deleted. Only supported for cookies, storage and cache. Cookies are cleared for the whole registrable domain.
getter/setter pair
originTypes RemovalOptionsOriginTypes?
An object whose properties specify which origin types ought to be cleared. If this object isn't specified, it defaults to clearing only "unprotected" origins. Please ensure that you really want to remove application data before adding 'protectedWeb' or 'extensions'.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
since double?
Remove data accumulated on or after this date, represented in milliseconds since the epoch (accessible via the getTime method of the JavaScript Date object). If absent, defaults to 0 (which would remove all browsing data).
getter/setter pair
toJS → RemovalOptions
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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