throwsUnsupportedError top-level constant

const throwsUnsupportedError = const Throws(isUnsupportedError)

A matcher for functions that throw UnsupportedError.

Implementation

const Matcher throwsUnsupportedError =
    // ignore: deprecated_member_use
    Throws(isUnsupportedError)