throws top-level constant
This function is deprecated.
Use throwsA instead. We strongly recommend that you add assertions about
at least the type of the error, but you can write throwsA(anything)
to
mimic the behavior of this matcher.
Implementation
@Deprecated('Will be removed in 0.13.0')
const Matcher throws = Throws();