ListIngressRulesResponse.fromJson constructor

ListIngressRulesResponse.fromJson(
  1. Map json_
)

Implementation

ListIngressRulesResponse.fromJson(core.Map json_)
    : this(
        ingressRules: json_.containsKey('ingressRules')
            ? (json_['ingressRules'] as core.List)
                .map((value) => FirewallRule.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        nextPageToken: json_.containsKey('nextPageToken')
            ? json_['nextPageToken'] as core.String
            : null,
      );