CacheItemPriority enum

Specifies how items are prioritized for preservation during a memory pressure triggered cleanup.

Inheritance
Available extensions

Values

low → const CacheItemPriority

Items with this priority will be removed as soon as possible during memory pressure cleanup.

normal → const CacheItemPriority

Items with this priority will be removed after low priority items during memory pressure cleanup.

high → const CacheItemPriority

Items with this priority will be removed after low and normal priority items during memory pressure cleanup.

neverRemove → const CacheItemPriority

Items with this priority will never be removed during memory pressure cleanup.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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

Constants

values → const List<CacheItemPriority>
A constant List of the values in this enum, in order of their declaration.