DeploymentSpec.fromJson constructor

DeploymentSpec.fromJson(
  1. Map json_
)

Implementation

DeploymentSpec.fromJson(core.Map json_)
  : this(
      deployment: json_.containsKey('deployment')
          ? Deployment.fromJson(
              json_['deployment'] as core.Map<core.String, core.dynamic>,
            )
          : null,
      deploymentId: json_['deploymentId'] as core.String?,
    );