Method constructor

const Method(
  1. String method,
  2. String path
)

Implementation

const Method(
  this.method,
  this.path,
);