PropMapper<P, T> typedef

PropMapper<P, T> = T Function(P props)

PropMapper takes a props object of type P and returns a props object of type T

Implementation

typedef T PropMapper<P, T>(P props);