PromoteReleaseOperation.fromJson constructor

PromoteReleaseOperation.fromJson(
  1. Map json_
)

Implementation

PromoteReleaseOperation.fromJson(core.Map json_)
    : this(
        phase:
            json_.containsKey('phase') ? json_['phase'] as core.String : null,
        rollout: json_.containsKey('rollout')
            ? json_['rollout'] as core.String
            : null,
        targetId: json_.containsKey('targetId')
            ? json_['targetId'] as core.String
            : null,
        wait: json_.containsKey('wait') ? json_['wait'] as core.String : null,
      );