isCastError top-level constant

TypeMatcher<CastError> const isCastError
@Deprecated('CastError has been deprecated in favor of TypeError. ' 'Use `isA<TypeError>()` or, if you need compatibility with older SDKs, ' 'use `isA<CastError>()` and ignore the deprecation.')

A matcher for CastError.

Implementation

const isCastError = TypeMatcher<CastError>()