EncryptedCredentials.fromJson constructor

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

Creates a new EncryptedCredentials object from json.

Implementation

factory EncryptedCredentials.fromJson(Map<String, dynamic> json) {
  return EncryptedCredentials(
    data: json['data']!,
    hash: json['hash']!,
    secret: json['secret']!,
  );
}