mockResponse method

  1. @Deprecated("Use `mockResponseStatus` instead")
Future<String> mockResponse({
  1. required String responseJsonPath,
  2. int statusCode = 200,
})

Implementation

@Deprecated("Use `mockResponseStatus` instead")
Future<String> mockResponse(
    {required String responseJsonPath, int statusCode = 200}) async {
  _responseStatusCode = statusCode;
  return await Future.value(responseJsonPath);
}