Skip to content

Commit 4a907b7

Browse files
committed
style: remove unnecessary method
1 parent 2c826b7 commit 4a907b7

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

lib/features/core/domain/fresh.dart

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,6 @@ class Fresh<T> extends Equatable {
1919
/// Determines if the entity is fresh or not.
2020
final bool? isFresh;
2121

22-
/// Helper method to return new Fresh instance.
23-
Fresh<T> newInstance(T entity) {
24-
return Fresh._(
25-
entity: entity,
26-
isFresh: isFresh,
27-
);
28-
}
29-
3022
@override
3123
List<Object?> get props => [entity, isFresh];
3224
}

0 commit comments

Comments
 (0)