Skip to content

Support 'Object operator ==(dynamic other))' #479

@quanbui1998

Description

@quanbui1998

I use a library but it is write a class which override operator ==(dynamic other) so dart display error:

'Object.==' ('bool Function(Object)') isn't a valid concrete implementation of 'Record.==' ('bool Function(dynamic)').

@override
  bool operator ==(dynamic other) {
     ...
  }

Can you fix mockito for support operator ==(dynamic other)? Thanks!

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