describe method

  1. @override
Description describe(
  1. 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);
  }
}