CachePriority enum

Defines the priority level of a cached item.

Higher priority items are less likely to be evicted when the cache is full.

Inheritance
Available extensions

Values

low → const CachePriority

Lowest priority. These items will be evicted first when the cache is full.

normal → const CachePriority

Normal priority. These items will be evicted after low priority items.

high → const CachePriority

High priority. These items will be evicted after normal priority items.

critical → const CachePriority

Critical priority. These items will only be evicted if absolutely necessary.

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<CachePriority>
A constant List of the values in this enum, in order of their declaration.