GoogleCloudContentwarehouseV1ListRuleSetsResponse.fromJson constructor

GoogleCloudContentwarehouseV1ListRuleSetsResponse.fromJson(
  1. Map json_
)

Implementation

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