throwsArgumentError top-level constant Null safety

Matcher const throwsArgumentError

A matcher for functions that throw ArgumentError.

Implementation

const Matcher throwsArgumentError = Throws(isArgumentError)