ListResolverRuleAssociationsResponse.fromJson constructor

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

Implementation

factory ListResolverRuleAssociationsResponse.fromJson(
    Map<String, dynamic> json) {
  return ListResolverRuleAssociationsResponse(
    maxResults: json['MaxResults'] as int?,
    nextToken: json['NextToken'] as String?,
    resolverRuleAssociations: (json['ResolverRuleAssociations'] as List?)
        ?.whereNotNull()
        .map((e) =>
            ResolverRuleAssociation.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}