StandardRolloutPolicy.fromJson constructor

StandardRolloutPolicy.fromJson(
  1. Map json_
)

Implementation

StandardRolloutPolicy.fromJson(core.Map json_)
    : this(
        batchNodeCount: json_.containsKey('batchNodeCount')
            ? json_['batchNodeCount'] as core.int
            : null,
        batchPercentage: json_.containsKey('batchPercentage')
            ? (json_['batchPercentage'] as core.num).toDouble()
            : null,
        batchSoakDuration: json_.containsKey('batchSoakDuration')
            ? json_['batchSoakDuration'] as core.String
            : null,
      );