toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (maxBackoffDuration != null)
        'maxBackoffDuration': maxBackoffDuration!,
      if (maxDoublings != null) 'maxDoublings': maxDoublings!,
      if (maxRetryDuration != null) 'maxRetryDuration': maxRetryDuration!,
      if (minBackoffDuration != null)
        'minBackoffDuration': minBackoffDuration!,
      if (retryCount != null) 'retryCount': retryCount!,
    };