ListKeyPoliciesResponse.fromJson constructor

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

Implementation

factory ListKeyPoliciesResponse.fromJson(Map<String, dynamic> json) {
  return ListKeyPoliciesResponse(
    nextMarker: json['NextMarker'] as String?,
    policyNames: (json['PolicyNames'] as List?)
        ?.whereNotNull()
        .map((e) => e as String)
        .toList(),
    truncated: json['Truncated'] as bool?,
  );
}