Skip to content

Commit

Permalink
refactor: remove unnecessary Equatable's stringify
Browse files Browse the repository at this point in the history
  • Loading branch information
Jei-sKappa committed Oct 5, 2024
1 parent 381308b commit 6a7934c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions lib/src/quadtree_node.dart
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,6 @@ class QuadtreeNode<T> with EquatableMixin {
depth,
];

@override
bool get stringify => true;

/// Insert the item into the node. If the node exceeds the capacity,
/// it will split and add all items to their corresponding subnodes.
///
Expand Down
3 changes: 0 additions & 3 deletions lib/src/single_root_quadtree.dart
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,6 @@ class SingleRootQuadtree<T> with EquatableMixin implements Quadtree<T> {
List<Object?> get props =>
[maxItems, maxDepth, getBounds, root, _depth, _negativeDepth];

@override
bool? get stringify => true;

@override
bool insert(T item) {
if (isRectOutOfBounds(getBounds(item))) return false;
Expand Down

0 comments on commit 6a7934c

Please sign in to comment.