EncryptionConfig.fromJson constructor
Implementation
factory EncryptionConfig.fromJson(Map<String, dynamic> json) {
return EncryptionConfig(
provider: json['provider'] != null
? Provider.fromJson(json['provider'] as Map<String, dynamic>)
: null,
resources: (json['resources'] as List?)
?.whereNotNull()
.map((e) => e as String)
.toList(),
);
}