throwsNullThrownError top-level constant
- @Deprecated('throwsNullThrownError has been deprecated, because ' 'NullThrownError has been replaced with TypeError. ' 'Use `throwsA(isA<TypeError>())` instead.')
A matcher for functions that throw NullThrownError.
See throwsA for objects that this can be matched against.
Implementation
@Deprecated('throwsNullThrownError has been deprecated, because '
'NullThrownError has been replaced with TypeError. '
'Use `throwsA(isA<TypeError>())` instead.')
const Matcher throwsNullThrownError = Throws(TypeMatcher<TypeError>());