EnumFactory<T> typedef
T EnumFactory<{T}> = T Function(int value)
Implementation
typedef
EnumFactory
<
T
>
=
T Function
(
int
value
);