DeploymentUpdate.fromJson constructor

DeploymentUpdate.fromJson(
  1. Map json_
)

Implementation

DeploymentUpdate.fromJson(core.Map json_)
    : this(
        description: json_.containsKey('description')
            ? json_['description'] as core.String
            : null,
        labels: json_.containsKey('labels')
            ? (json_['labels'] as core.List)
                .map((value) => DeploymentUpdateLabelEntry.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        manifest: json_.containsKey('manifest')
            ? json_['manifest'] as core.String
            : null,
      );