is2xxSuccessful method

  1. @override
bool is2xxSuccessful()
override

Whether this status code is in the Successful class ({@code 2xx}). @see RFC 2616

Implementation

@override
bool is2xxSuccessful() {
  return _hundreds() == 2;
}