throwsNoSuchMethodError top-level constant
Matcher
const throwsNoSuchMethodError
A matcher for functions that throw NoSuchMethodError.
See throwsA for objects that this can be matched against.
Implementation
const Matcher throwsNoSuchMethodError = Throws(isNoSuchMethodError);