GoogleChromePolicyVersionsV1ListPolicySchemasResponse.fromJson constructor

GoogleChromePolicyVersionsV1ListPolicySchemasResponse.fromJson(
  1. Map json_
)

Implementation

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