isError method

  1. @override
bool isError(
  1. int statusCode
)
override

Implementation

@override
bool isError(int statusCode) {
  return ResponseCode.errorsCodes.any((code) => code.code == statusCode);
}