Deployment.fromJson constructor

Deployment.fromJson(
  1. Map json_
)

Implementation

Deployment.fromJson(core.Map json_)
    : this(
        labels: json_.containsKey('labels')
            ? (json_['labels'] as core.Map<core.String, core.dynamic>).map(
                (key, value) => core.MapEntry(
                  key,
                  value as core.String,
                ),
              )
            : null,
        projectId: json_.containsKey('projectId')
            ? json_['projectId'] as core.String
            : null,
        target: json_.containsKey('target')
            ? json_['target'] as core.String
            : null,
      );