GoogleCloudAiplatformV1UndeployModelRequest.fromJson constructor

GoogleCloudAiplatformV1UndeployModelRequest.fromJson(
  1. Map json_
)

Implementation

GoogleCloudAiplatformV1UndeployModelRequest.fromJson(core.Map json_)
    : this(
        deployedModelId: json_.containsKey('deployedModelId')
            ? json_['deployedModelId'] as core.String
            : 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,
      );