throwsRangeError top-level constant Null safety

Matcher const throwsRangeError

A matcher for functions that throw RangeError.

See throwsA for objects that this can be matched against.

Implementation

const Matcher throwsRangeError = Throws(isRangeError);