Adapter<F, T> typedef
Adapter<F, T> =
T Function(F)
a method that receives object of type F
and
turns it into an object of type T
Implementation
typedef Adapter<F, T> = T Function(F);
a method that receives object of type F
and
turns it into an object of type T
typedef Adapter<F, T> = T Function(F);