ListRulesResponse.fromJson constructor

ListRulesResponse.fromJson(
  1. Map json_
)

Implementation

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