BatchListObjectPoliciesResponse.fromJson constructor

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

Implementation

factory BatchListObjectPoliciesResponse.fromJson(Map<String, dynamic> json) {
  return BatchListObjectPoliciesResponse(
    attachedPolicyIds: (json['AttachedPolicyIds'] as List?)
        ?.whereNotNull()
        .map((e) => e as String)
        .toList(),
    nextToken: json['NextToken'] as String?,
  );
}