SaveReason class

Named reason for a save boundary.

Constructors

SaveReason.custom(String value)
Creates a save reason with a custom value.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value String
The underlying reason string.
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

autosave → const SaveReason
A periodic or automatic save.
manual → const SaveReason
A user-invoked manual save.
migration → const SaveReason
A save triggered by migration or recovery.
recovery → const SaveReason
A save triggered by restoring from backup.
shutdown → const SaveReason
A save triggered by shutdown or backgrounding.