core-matchers: remove the name parameter from isInstanceOf's constructor
This is a breaking change.
diff --git a/lib/src/core_matchers.dart b/lib/src/core_matchers.dart
index a2e9718..1b001f9 100644
--- a/lib/src/core_matchers.dart
+++ b/lib/src/core_matchers.dart
@@ -373,9 +373,7 @@
///
/// expect(bar, new isInstanceOf<Foo>());
class isInstanceOf<T> extends Matcher {
- /// The [name] parameter does nothing; it's deprecated and will be removed in
- /// future version of [matcher].
- const isInstanceOf([@deprecated String name]);
+ const isInstanceOf();
bool matches(obj, Map matchState) => obj is T;