throwsApiError function

Matcher throwsApiError([
  1. Matcher? errorMatcher
])

Implementation

Matcher throwsApiError([Matcher? errorMatcher]) =>
    throwsA(allOf(isA<ApiError>(), errorMatcher));