http_mock_adapter library Null safety

Classes

DioAdapter
HttpClientAdapter extension with data mocking and recording functionality.
DioInterceptor
DioInterceptor is a class for mocking Dio requests with Interceptor.
Matcher
An abstract class that has a single method matches, which takes in data and determines if pre-defined matching occurs.
Matchers
Matchers is an interface for various Matcher types.
Request
Request class contains members to hold network request information.
RequestMethods
HTTP methods.
StrictMatchers
StrictMatchers is an interface for various strict Matcher types.

Extensions

MatchesRequest
MatchesRequest enhances the RequestOptions by allowing different types of matchers to validate the data and headers of the request.

Exceptions / Errors

MockDioError
Wrapper of Dio's DioError Exception.