GetResourcePoliciesResponse.fromJson constructor

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

Implementation

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