GoogleCloudAiplatformV1DeployModelRequest.fromJson constructor

GoogleCloudAiplatformV1DeployModelRequest.fromJson(
  1. Map json_
)

Implementation

GoogleCloudAiplatformV1DeployModelRequest.fromJson(core.Map json_)
    : this(
        deployedModel: json_.containsKey('deployedModel')
            ? GoogleCloudAiplatformV1DeployedModel.fromJson(
                json_['deployedModel'] as core.Map<core.String, core.dynamic>)
            : null,
        trafficSplit: json_.containsKey('trafficSplit')
            ? (json_['trafficSplit'] as core.Map<core.String, core.dynamic>)
                .map(
                (key, value) => core.MapEntry(
                  key,
                  value as core.int,
                ),
              )
            : null,
      );