RetryStrategy.fromJson constructor
Implementation
factory RetryStrategy.fromJson(Map<String, dynamic> json) {
return RetryStrategy(
attempts: json['attempts'] as int?,
evaluateOnExit: (json['evaluateOnExit'] as List?)
?.whereNotNull()
.map((e) => EvaluateOnExit.fromJson(e as Map<String, dynamic>))
.toList(),
);
}