throws top-level constant
- @Deprecated('Will be removed in 0.13.0')
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
mimic the behavior of this matcher.
@Deprecated('Will be removed in 0.13.0') const Matcher throws = Throws();