Middleware constructor

Middleware({
  1. Map<String, String> config = const {},
  2. String? id,
  3. String? type,
})

Returns a new Middleware instance.

Implementation

Middleware({
  this.config = const {},
  this.id,
  this.type,
});