PrefKey<T> enum

Typed preference keys with defaults.

Inheritance
Available extensions

Values

demoMode → const PrefKey<bool>

Whether to use mock data instead of live NTUT services.

const PrefKey<bool>(PrefType.boolean, false)
showDangerZone → const PrefKey<bool>

Whether the danger zone section is shown on the profile screen.

const PrefKey<bool>(PrefType.boolean, false)

Properties

defaultValue → T
final
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
type PrefType
final

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