throwsNullThrownError top-level constant Null safety

Matcher const throwsNullThrownError

A matcher for functions that throw NullThrownError.

See throwsA for objects that this can be matched against.

Implementation

const Matcher throwsNullThrownError = Throws(isNullThrownError);