fromJson static method

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

Implementation

static EncryptedPrivateKeyModel fromJson(Map<String, dynamic> json) {
  return EncryptedPrivateKeyModel(
    version: json['version'],
    nonce: json['nonce'],
    ephemPublicKey: json['ephemPublicKey'],
    ciphertext: json['ciphertext'],
    salt: json['salt'],
    preKey: json['preKey'],
  );
}