add method

Cascade add(
  1. Handler handler
)

Returns a new cascade with handler added to the end.

handler will only be called if all previous handlers in the cascade return unacceptable responses.

Implementation

Cascade add(Handler handler) => Cascade._(this, handler, _shouldCascade);