CacheMode enum

How the cache is to be used when requesting new tokens silently.

Inheritance

Constructors

CacheMode()
const

Values

on → const CacheMode

The default setting. Reads from the cache first, and falls back to a request to the server if the cache does not exist, or has expired.

off → const CacheMode

The cache is ignored and always makes a request to the server for new tokens.

cacheOnly → const CacheMode

The cache is always used and never sends a request to the server.

Properties

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.
override

Operators

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

Constants

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