ListWebsiteAuthorizationProvidersResponse.fromJson constructor

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

Implementation

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