to abstract method

B to(
  1. A input
)

Maps an instance of A to B.

Implementation

B to(A input);