describe method Null safety

  1. @override
Description describe(
  1. Description description
)
override

Builds a textual description of the matcher.

Implementation

@override
Description describe(Description description) {
  var name = _name ?? _stripDynamic(T);
  return description.add("<Instance of '$name'>");
}