ListPrincipalPoliciesResponse.fromJson constructor

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

Implementation

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