Route constructor

Route(
  1. Fetcher fetcher, {
  2. AcceptLink? accepts,
})

Implementation

Route(this.fetcher, {AcceptLink? accepts})
    : this.accepts = accepts ?? _defaultAcceptLink;