Cache enum

Inheritance

Constructors

Cache(String cacheName)
const

Values

nocache → const Cache

No cache

const Cache('nocache')
noexpiry → const Cache

No expiry date

const Cache('noexpiry')
sec30 → const Cache

30 seconds

const Cache('30sec')
min1 → const Cache

A minute

const Cache('1min')
min2 → const Cache

2 Minutes

const Cache('2mins')
min5 → const Cache

5 Minutes

const Cache('5mins')
min10 → const Cache

10 Minutes

const Cache('10mins')
min15 → const Cache

15 Minutes

const Cache('15mins')
min30 → const Cache

30 Minutes

const Cache('30mins')
hour1 → const Cache

A hour

const Cache('1hour')
hours6 → const Cache

6 hours

const Cache('6hours')
hours12 → const Cache

12 hours

const Cache('12hours')
day1 → const Cache

A day

const Cache('1day')
week1 → const Cache

A week

const Cache('1week')
month1 → const Cache

A month

const Cache('1month')
month6 → const Cache

6 months

const Cache('6month')
year1 → const Cache

A year

const Cache('1year')

Properties

cacheName String
Cache name for server
final
hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
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<Cache>
A constant List of the values in this enum, in order of their declaration.