operator == method

  1. @override
bool operator ==(
  1. covariant HttpException other
)
override

Compares this HttpException instance to another object.

Two instances of HttpException are considered equal if they have the same runtime type and httpStatus.

Implementation

@override
bool operator ==(covariant HttpException other) =>
    (identical(this, other)) ||
    runtimeType == other.runtimeType && other.httpStatus == httpStatus;