throwsNoSuchMethodError top-level constant

const throwsNoSuchMethodError = const Throws(isNoSuchMethodError)

A matcher for functions that throw NoSuchMethodError.

Implementation

const Matcher throwsNoSuchMethodError =
    // ignore: deprecated_member_use
    Throws(isNoSuchMethodError)