We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f643de commit 4c8d335Copy full SHA for 4c8d335
lib/src/builder.dart
@@ -937,7 +937,7 @@ class _MockTargetGatherer {
937
final className = interfaceElement.name3;
938
final substitution = Substitution.fromInterfaceType(mockTarget.classType);
939
final relevantMembers = _inheritanceManager
940
- .getInterface2(interfaceElement)
+ .getInterface(interfaceElement)
941
.map2
942
.values
943
.where((m) => !m.isPrivate && !m.isStatic)
@@ -1320,7 +1320,7 @@ class _MockClassInfo {
1320
[...typeToMock.typeArguments, ...?typeAlias?.typeArguments],
1321
);
1322
final members = inheritanceManager
1323
- .getInterface2(classToMock)
+ .getInterface(classToMock)
1324
1325
1326
.map((member) => ExecutableMember.from(member, substitution));
0 commit comments