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
[SEVERE] mockito:mockBuilder on test/mocks.dart:
Invalid @GenerateMocks annotation: Mockito cannot generate a valid mock class which implements 'Stream' for the following reasons:
The method 'Stream.map' features a non-nullable unknown return type, and cannot be stubbed.
The method 'Stream.reduce' features a non-nullable unknown return type, and cannot be stubbed.
The method 'Stream.fold' features a non-nullable unknown return type, and cannot be stubbed.
The method 'Stream.firstWhere' features a non-nullable unknown return type, and cannot be stubbed.
The method 'Stream.lastWhere' features a non-nullable unknown return type, and cannot be stubbed.
The method 'Stream.singleWhere' features a non-nullable unknown return type, and cannot be stubbed.
Code:
Output:
mockito 5.0.0 - build_runner 1.11.5 - Flutter 2.0.3
The text was updated successfully, but these errors were encountered: