SimpleEncrypt class
- Annotations
-
- @JsonSerializable()
Constructors
- SimpleEncrypt.new({required String key, required String data})
-
const
-
SimpleEncrypt.fromJson(Map<
String, dynamic> json) -
Json转SimpleEncrypt
factory
Properties
Methods
-
getDecryptData<
T> (String publicKey, OnFromJson< T> onFromJson) → T? - 获取公钥解密之后的数据
-
getDecryptDataByPrivate<
T> (String privateKey, OnFromJson< T> onFromJson) → T? - 获取私钥解密之后的数据
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - SimpleEncrypt转 Json
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited