DartnessRequest constructor

DartnessRequest(
  1. String method,
  2. Uri uri, {
  3. Map<String, Object>? headers,
  4. Object? body,
  5. Encoding? encoding,
})

Implementation

DartnessRequest(
  String method,
  Uri uri, {
  Map<String, Object>? headers,
  Object? body,
  Encoding? encoding,
}) : this.fromShelf(
        shelf.Request(
          method,
          uri,
          headers: headers,
          body: body,
          encoding: encoding,
        ),
      );