when<T> method
T
when<T>({
- required T all(),
- required T participated(),
Implementation
T when<T>({
required T Function() all,
required T Function() participated,
}) =>
{
Include.all: all,
Include.participated: participated,
}[this]!();