Google is committed to advancing racial equity for Black communities. See how.

EnumFactory<T> typedef

T EnumFactory&lt;{T}> = T Function(int value)

Implementation

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