You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
#758
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
Thanks for the report! Can you show what version of the collection package is in play (e.g. from your pubspec.lock file)? I cannot find any version of the collection package where DeepCollectionEquality is final.
running
flutter test --platform chrome
(orflutter test
) is giving the below issue:The text was updated successfully, but these errors were encountered: