MockResponse constructor
const
MockResponse({})
Implementation
const MockResponse({
this.statusCode = 200,
this.body,
this.headers = const {},
this.delay = Duration.zero,
this.error,
this.errorType = DioExceptionType.connectionError,
});