RetryConfig.fromJson constructor
RetryConfig.fromJson(
- Map json_
Implementation
RetryConfig.fromJson(core.Map json_)
: this(
maxBackoffDuration: json_.containsKey('maxBackoffDuration')
? json_['maxBackoffDuration'] as core.String
: null,
maxDoublings: json_.containsKey('maxDoublings')
? json_['maxDoublings'] as core.int
: null,
maxRetryDuration: json_.containsKey('maxRetryDuration')
? json_['maxRetryDuration'] as core.String
: null,
minBackoffDuration: json_.containsKey('minBackoffDuration')
? json_['minBackoffDuration'] as core.String
: null,
retryCount: json_.containsKey('retryCount')
? json_['retryCount'] as core.int
: null,
);