Skip to content

@GenerateMocks wrong type on flutter_bloc #488

@andredealmei

Description

@andredealmei

est/bloc_test.mocks.dart:57:37: Error: The parameter 'transformer' of the method 'MockCounterBloc.on' has type 'Stream<E> Function(Stream<E>, Stream<E> Function(E))?', which does not match the corresponding type, 'Stream<E> Function(Stream<E>, Stream<E> Function(E))?', in the overridden method, 'Bloc.on'.

To see the full error, just clone this repo and run "flutter test"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions