UniEncryptedMsg.fromJson constructor

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

Implementation

factory UniEncryptedMsg.fromJson(Map<String, dynamic> json) =>
    UniEncryptedMsg(
      ciphertext: json['ciphertext'],
      iv: json['iv'],
      x3dhKey: X3DHKey.fromJson(json['x3dhKey']),
    );