GoogleCloudRetailV2ListServingConfigsResponse.fromJson constructor

GoogleCloudRetailV2ListServingConfigsResponse.fromJson(
  1. Map json_
)

Implementation

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