throwsNoSuchMethodError top-level constant Null safety

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);