DeployJobRunMetadata.fromJson constructor

DeployJobRunMetadata.fromJson(
  1. Map json_
)

Implementation

DeployJobRunMetadata.fromJson(core.Map json_)
    : this(
        cloudRun: json_.containsKey('cloudRun')
            ? CloudRunMetadata.fromJson(
                json_['cloudRun'] as core.Map<core.String, core.dynamic>)
            : null,
        custom: json_.containsKey('custom')
            ? CustomMetadata.fromJson(
                json_['custom'] as core.Map<core.String, core.dynamic>)
            : null,
        customTarget: json_.containsKey('customTarget')
            ? CustomTargetDeployMetadata.fromJson(
                json_['customTarget'] as core.Map<core.String, core.dynamic>)
            : null,
      );