Method constructor

const Method(
  1. String method, {
  2. String path = "/",
  3. Map<String, String> headers = const {},
})

Implementation

const Method(this.method, {this.path: "/", this.headers: const {}});