contains method

bool contains(
  1. BaseResponse response
)

Return whether the response's xRateLimitBucket header matches this bucket's.

Implementation

bool contains(BaseResponse response) => id == response.headers[xRateLimitBucket];