then method

Transformation<T, V> then(
  1. Transformation<U, V> transformation
)

Chains together two transformations where the output of the first transformation becomes the input of the second.

This method can be used to compose compatible transformations. The output type of the first transformation must match the input type of the second.

Implementation

Transformation<T, V> then(Transformation<U, V> transformation) =>
    _ComposedTransition(
      first: this,
      second: transformation,
    );