RetryPhase.fromJson constructor
RetryPhase.fromJson(
- Map json_
Implementation
RetryPhase.fromJson(core.Map json_)
: this(
attempts: json_.containsKey('attempts')
? (json_['attempts'] as core.List)
.map((value) => RetryAttempt.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
backoffMode: json_.containsKey('backoffMode')
? json_['backoffMode'] as core.String
: null,
totalAttempts: json_.containsKey('totalAttempts')
? json_['totalAttempts'] as core.String
: null,
);