AppState class

The actual state provided by appStateProvider.

Constructors

AppState.active(Ref<Object?> ref)
const
AppState.archiveAll(Ref<Object?> ref)
const
AppState.archiveDate(Ref<Object?> ref, DateTime? atDate)
const

Properties

atDate DateTime?
final
dateAsString String
read-only
hashCode int
The hash code for this object.
read-onlyinherited
isArchive bool
final
ref Ref<Object?>
final
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
showAll bool
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toActive() → void
Change state of appStateProvider.
toArchiveAll() → void
Change state of appStateProvider.
toArchiveDate(DateTime date) → void
Change state of appStateProvider.
toString() String
A string representation of this object.
inherited

Operators

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