throwsStateError top-level constant

const throwsStateError = const Throws(isStateError)

A matcher for functions that throw StateError.

Implementation

const Matcher throwsStateError =
    // ignore: deprecated_member_use
    Throws(isStateError)