isSuccess method

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

Implementation

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