SlotWinPredicate typedef

SlotWinPredicate = int? Function(List<int> indices, SlotConfig config)

从各列目标奖品下标及配置返回中奖下标,或 null 表示未中奖。

Implementation

typedef SlotWinPredicate = int? Function(List<int> indices, SlotConfig config);