toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (maxAttempts != null) 'maxAttempts': maxAttempts!,
      if (maxBackoff != null) 'maxBackoff': maxBackoff!,
      if (maxDoublings != null) 'maxDoublings': maxDoublings!,
      if (maxRetryDuration != null) 'maxRetryDuration': maxRetryDuration!,
      if (minBackoff != null) 'minBackoff': minBackoff!,
    };