toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final maxAttempts = this.maxAttempts;
  final maxBackoff = this.maxBackoff;
  final maxDoublings = this.maxDoublings;
  final maxRetryDuration = this.maxRetryDuration;
  final minBackoff = this.minBackoff;
  return {
    'maxAttempts': ?maxAttempts,
    'maxBackoff': ?maxBackoff,
    'maxDoublings': ?maxDoublings,
    'maxRetryDuration': ?maxRetryDuration,
    'minBackoff': ?minBackoff,
  };
}