clone property Null safety

Middleware<T>? clone

A clone of this class

Override this method only if you want to have different instances for each middleware in your tree

Implementation

Middleware<T>? get clone => null;