throwsCyclicInitializationError top-level constant

  1. @Deprecated('throwsCyclicInitializationError has been deprecated, because ' 'the type will longer exists in Dart 3.0. It will now catch any kind of ' 'error, not only CyclicInitializationError.')
Matcher const throwsCyclicInitializationError

A matcher for functions that throw CyclicInitializationError.

See throwsA for objects that this can be matched against.

Implementation

@Deprecated('throwsCyclicInitializationError has been deprecated, because '
    'the type will longer exists in Dart 3.0. It will now catch any kind of '
    'error, not only CyclicInitializationError.')
const Matcher throwsCyclicInitializationError = Throws(TypeMatcher<Error>());