Parse from a json
factory EncryptedCredentials.fromJson(Map<String, dynamic> json) => EncryptedCredentials( data: json['data'], hash: json['hash'], secret: json['secret'], );