EncryptionParameters class

Annotations
  • @JsonSerializable(createFactory: true, includeIfNull: false, explicitToJson: true)

Constructors

EncryptionParameters({String password = '', FileEncryptionMode mode = FileEncryptionMode.AES256})
EncryptionParameters.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
mode FileEncryptionMode
Length of the key in AES encryption - 128 or 256 bits
getter/setter pair
password String
A secure password or passphrase to derive the AES key for encryption/decryption
getter/setter pair
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
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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