PatchRollout.fromJson constructor

PatchRollout.fromJson(
  1. Map json_
)

Implementation

PatchRollout.fromJson(core.Map json_)
    : this(
        disruptionBudget: json_.containsKey('disruptionBudget')
            ? FixedOrPercent.fromJson(json_['disruptionBudget']
                as core.Map<core.String, core.dynamic>)
            : null,
        mode: json_.containsKey('mode') ? json_['mode'] as core.String : null,
      );