throwsArgumentError top-level constant

const throwsArgumentError = const Throws(isArgumentError)

A matcher for functions that throw ArgumentError.

Implementation

const Matcher throwsArgumentError =
    // ignore: deprecated_member_use
    Throws(isArgumentError)