From 68f03f2311518b40a7137bb40c1b0f0ab39157b3 Mon Sep 17 00:00:00 2001 From: bggRGjQaUbCoE Date: Thu, 10 Apr 2025 14:18:20 +0800 Subject: [PATCH] mod: revert success Signed-off-by: bggRGjQaUbCoE --- lib/http/loading_state.dart | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/lib/http/loading_state.dart b/lib/http/loading_state.dart index 229c5610..34a2e837 100644 --- a/lib/http/loading_state.dart +++ b/lib/http/loading_state.dart @@ -18,19 +18,19 @@ class Success extends LoadingState { final T response; const Success(this.response); - @override - bool operator ==(Object other) { - if (identical(this, other)) { - return true; - } - if (other is Success) { - return response == other.response; - } - return false; - } + // @override + // bool operator ==(Object other) { + // if (identical(this, other)) { + // return true; + // } + // if (other is Success) { + // return response == other.response; + // } + // return false; + // } - @override - int get hashCode => response.hashCode; + // @override + // int get hashCode => response.hashCode; } class Error extends LoadingState {