MiddlewareEntry constructor

const MiddlewareEntry({
  1. required String filePath,
  2. required String path,
  3. HttpMethod? method,
})

Creates a middleware entry.

Implementation

const MiddlewareEntry({
  required this.filePath,
  required this.path,
  this.method,
});