mockito icon indicating copy to clipboard operation
mockito copied to clipboard

Dart 3.4.3: invocation_matcher.dart Error: The class 'DeepCollectionEquality' can't be extended outside of its library because it's a final class.

Open dannnnthemannnn opened this issue 1 year ago • 1 comments

running flutter test --platform chrome (or flutter test) is giving the below issue:

flutter test  --platform chrome                                         
../../../.pub-cache/hosted/pub.dev/mockito-5.4.4/lib/src/invocation_matcher.dart:155:32: Error: The class
'DeepCollectionEquality' can't be extended outside of its library because it's a final class.
class _MatcherEquality extends DeepCollectionEquality /* <Matcher | E> */ {
                               ^
Failed to compile
flutter --version
Flutter 3.22.2 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 761747bfc5 (2 weeks ago) • 2024-06-05 22:15:13 +0200
Engine • revision edd8546116
Tools • Dart 3.4.3 • DevTools 2.34.3

dannnnthemannnn avatar Jun 20 '24 21:06 dannnnthemannnn