GetEffectivePoliciesResponse.fromJson constructor

GetEffectivePoliciesResponse.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory GetEffectivePoliciesResponse.fromJson(Map<String, dynamic> json) {
  return GetEffectivePoliciesResponse(
    effectivePolicies: (json['effectivePolicies'] as List?)
        ?.whereNotNull()
        .map((e) => EffectivePolicy.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}