ReviewPolicy.fromJson constructor
Implementation
factory ReviewPolicy.fromJson(Map<String, dynamic> json) {
return ReviewPolicy(
policyName: json['PolicyName'] as String,
parameters: (json['Parameters'] as List?)
?.whereNotNull()
.map((e) => PolicyParameter.fromJson(e as Map<String, dynamic>))
.toList(),
);
}