fromJson static method
Implementation
static EncryptedCredentials? fromJson(Map<String, dynamic>? json) {
if (json == null) {
return null;
}
return EncryptedCredentials(
data: (json['data'] as String?) ?? '',
hash: (json['hash'] as String?) ?? '',
secret: (json['secret'] as String?) ?? '',
);
}