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