describe method Null safety
- Description description
override
Builds a textual description of the matcher.
Implementation
@override
Description describe(Description description) {
if (_matcher == null) {
return description.add('throws');
} else {
return description.add('throws ').addDescriptionOf(_matcher);
}
}