SaveReason class
Named reason for a save boundary.
Constructors
- SaveReason.custom(String value)
-
Creates a save reason with a custom
value.const
Properties
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.