EncryptionMode enum

Encryption/Decryption mode to be used when an image is loaded/saved.

Inheritance
Available extensions

Values

REQUIRED → const EncryptionMode

Encryption/Decryption is used when loading/saving an image. A crypting provider must first be set using ImageRef.setStorageCryptingProvider. If no provider is set, the loading/saving operation will fail.

DISABLED → const EncryptionMode

Encryption is not used when loading or saving images. Trying to load an encrypted image will fail.

AUTO → const EncryptionMode

When saving, images are encrypted only if a crypting provider is set using ImageRef.setStorageCryptingProvider. When loading, images will be decrypted if they're encrypted and a crypting provider is set, and loaded as-is otherwise.

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
toString() String
A string representation of this object.
inherited

Operators

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

Constants

values → const List<EncryptionMode>
A constant List of the values in this enum, in order of their declaration.