throwsNullThrownError top-level constant

  1. @Deprecated('throwsNullThrownError has been deprecated, because ' 'NullThrownError has been replaced with TypeError. ' 'Use `throwsA(isA<TypeError>())` instead.')
Matcher const throwsNullThrownError

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>());