BatchLookupPolicyResponse.fromJson constructor

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

Implementation

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