testStatusCodes property

  1. @visibleForTesting
Set<int> get testStatusCodes

The set of HTTP status codes that are considered successful.

Exposed for unit testing only — do not read from production code.

Implementation

@visibleForTesting
Set<int> get testStatusCodes => Set.unmodifiable(_statusCodes);