Skip to content

Commit

Permalink
use arrow
Browse files Browse the repository at this point in the history
  • Loading branch information
mirland committed May 7, 2024
1 parent 993ac27 commit 71548d8
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions lib/src/stock_response.dart
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,11 @@ final class StockResponseLoading<T> extends StockResponse<T> {
String toString() => 'StockResponse<$T>.loading(origin: $origin)';

@override
bool operator ==(Object other) {
return identical(this, other) ||
(other.runtimeType == runtimeType &&
other is StockResponseLoading<T> &&
origin == other.origin);
}
bool operator ==(Object other) =>
identical(this, other) ||
(other.runtimeType == runtimeType &&
other is StockResponseLoading<T> &&
origin == other.origin);

@override
int get hashCode => Object.hash(runtimeType, origin.hashCode);
Expand Down

0 comments on commit 71548d8

Please sign in to comment.