throwsNoSuchMethodError top-level constant Null safety

Matcher const throwsNoSuchMethodError

A matcher for functions that throw NoSuchMethodError.

Implementation

const Matcher throwsNoSuchMethodError = Throws(isNoSuchMethodError)