ListResolverQueryLogConfigAssociationsResponse.fromJson constructor

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

Implementation

factory ListResolverQueryLogConfigAssociationsResponse.fromJson(
    Map<String, dynamic> json) {
  return ListResolverQueryLogConfigAssociationsResponse(
    nextToken: json['NextToken'] as String?,
    resolverQueryLogConfigAssociations:
        (json['ResolverQueryLogConfigAssociations'] as List?)
            ?.whereNotNull()
            .map((e) => ResolverQueryLogConfigAssociation.fromJson(
                e as Map<String, dynamic>))
            .toList(),
    totalCount: json['TotalCount'] as int?,
    totalFilteredCount: json['TotalFilteredCount'] as int?,
  );
}