AttachmentState enum
Represents the state of an attachment.
Values
- queuedDownload → const AttachmentState
-
The attachment is queued for download from the remote storage.
- queuedUpload → const AttachmentState
-
The attachment is queued for upload to the remote storage.
- queuedDelete → const AttachmentState
-
The attachment is queued for deletion from the remote storage.
- synced → const AttachmentState
-
The attachment is fully synchronized with the remote storage.
- archived → const AttachmentState
-
The attachment is archived and no longer actively synchronized.
Properties
- 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
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toInt(
) → int - Returns the ordinal value of this AttachmentState.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromInt(
int value) → AttachmentState - Constructs an AttachmentState from the corresponding integer value.
Constants
-
values
→ const List<
AttachmentState> - A constant List of the values in this enum, in order of their declaration.