UpgradeSettings.fromJson constructor
UpgradeSettings.fromJson(
- Map json_
Implementation
UpgradeSettings.fromJson(core.Map json_)
: this(
blueGreenSettings: json_.containsKey('blueGreenSettings')
? BlueGreenSettings.fromJson(json_['blueGreenSettings']
as core.Map<core.String, core.dynamic>)
: null,
maxSurge: json_.containsKey('maxSurge')
? json_['maxSurge'] as core.int
: null,
maxUnavailable: json_.containsKey('maxUnavailable')
? json_['maxUnavailable'] as core.int
: null,
strategy: json_.containsKey('strategy')
? json_['strategy'] as core.String
: null,
);