throwsFormatException top-level constant

const throwsFormatException = const Throws(isFormatException)

A matcher for functions that throw FormatException.

Implementation

const Matcher throwsFormatException =
    // ignore: deprecated_member_use
    Throws(isFormatException)