ItemIdFunction<I extends Object, T extends Object> typedef
ItemIdFunction is the method that generates the id for each choice, the id generated must be unique.
The ItemIdFunction is used to generate the id for each choice item
Implementation
typedef ItemIdFunction<I extends Object, T extends Object> = I Function(T);