StubOfflineFirstRestResponse constructor

StubOfflineFirstRestResponse(
  1. String response, {
  2. required String endpoint,
  3. StubHttpMethod? method,
})

Implementation

StubOfflineFirstRestResponse(
  this.response, {
  required this.endpoint,
  StubHttpMethod? method,
}) : method = method ?? StubHttpMethod.any;