throwsArgumentError top-level constant Null safety
A matcher for functions that throw ArgumentError.
See throwsA for objects that this can be matched against.
Implementation
const Matcher throwsArgumentError = Throws(isArgumentError);
A matcher for functions that throw ArgumentError.
See throwsA for objects that this can be matched against.
const Matcher throwsArgumentError = Throws(isArgumentError);