Encryption class
Indicates that a resource is encrypted/obfuscated and provides relevant information for decryption.
- Mixed-in types
-
- JSONable
Constructors
Properties
- algorithm → String
-
Identifies the algorithm used to encrypt the resource.
final
- compression → String?
-
(Nullable) Compression method used on the resource.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- originalLength → int?
-
(Nullable) Original length of the resource in bytes before compression and/or encryption.
final
- profile → String?
-
(Nullable) Identifies the encryption profile used to encrypt the resource.
final
-
props
→ List<
Object?> -
The list of properties that will be used to determine whether
two instances are equal.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scheme → String?
-
(Nullable) Identifies the encryption scheme used to encrypt the resource.
final
- stringify → bool?
-
If set to
true
, the toString method will be overridden to output this instance's props.no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Serializes an Encryption to its RWPM JSON representation.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromJSON(
Map< String, dynamic> ? json) → Encryption? -
Creates an Encryption from its RWPM JSON representation.
If the encryption can't be parsed, a warning will be logged with
warnings
.