Deployment.fromJson constructor

Deployment.fromJson(
  1. Map json_
)

Implementation

Deployment.fromJson(core.Map json_)
    : this(
        deploymentConfig: json_.containsKey('deploymentConfig')
            ? DeploymentConfig.fromJson(json_['deploymentConfig']
                as core.Map<core.String, core.dynamic>)
            : null,
        deploymentId: json_.containsKey('deploymentId')
            ? json_['deploymentId'] as core.String
            : null,
        entryPoints: json_.containsKey('entryPoints')
            ? (json_['entryPoints'] as core.List)
                .map((value) => EntryPoint.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        updateTime: json_.containsKey('updateTime')
            ? json_['updateTime'] as core.String
            : null,
      );