when<T> method
T
when<T>({
- required T client(),
- required T federation(),
Implementation
T when<T>({
required T Function() client,
required T Function() federation,
}) =>
{
EventFormat.client: client,
EventFormat.federation: federation,
}[this]!();