EncryptionAlgorithmOptions.fromJson constructor
Implementation
factory EncryptionAlgorithmOptions.fromJson(Map<String, dynamic> json) {
return EncryptionAlgorithmOptions(
allowedValues: (json['allowedValues'] as List)
.whereNotNull()
.map((e) => (e as String).toEncryptionAlgorithm())
.toList(),
defaultValue: (json['defaultValue'] as String).toEncryptionAlgorithm(),
);
}