fromJson static method

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

Creates a object from a json

Implementation

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