CryptoParam.fromJson constructor

CryptoParam.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory CryptoParam.fromJson(Map<String, dynamic> json) {
  return CryptoParam(
      kdf: KDFParam.fromJson(json),
      iv: BytesUtils.fromHexString(json["cipherparams"]["iv"]));
}